diff --git a/fboauth.api.php b/fboauth.api.php
index e8666f7..3be777f 100644
--- a/fboauth.api.php
+++ b/fboauth.api.php
@@ -57,6 +57,17 @@ function hook_fboauth_actions() {
   return $actions;
 }
 
+/**
+ * Alter the list of Facebook Actions provided through hook_fboauth_actions().
+ *
+ * @see fboauth_fboauth_actions().
+ */
+function hook_fboauth_actions_alter(&$actions) {
+  // Replace the normal login callback with custom login callback.
+  $actions['connect']['callback'] = 'mymodule_fboauth_action_connect';
+}
+
 /**
  * Hook to manually map Facebook data to a Drupal user account upon connecting.
  *
