Facebook Login Redirects

You can use the "Redirect URL After Login" field in your AppPresser settings page in your WordPress wp-admin of your site.  You can either use a full URL from your WordPress site or use a page slug from a custom page from your app.

Redirect to a WordPress URL
Add this setting on your AppPresser settings in your WordPress wp-admin area.  Be sure to use https, otherwise, the redirect page will be missing the authentication cookies and will log you out.

Redirect to an App's Custom Page

Login Redirect New Users

You can redirect new users to a different URL using the appfbconnect_redirect hook.

function my_appfbconnect_redirect($redirect_url, $user_id, $is_new_user) {
   if( $is_new_user )
      return get_site_url( null, 'welcome'); // page slug from your WordPress site
   else
      return get_site_url( null, 'shop'); // page slug from your WordPress site
}
add_filter('appfbconnect_redirect', 'my_appfbconnect_redirect', 10, 3);

Login Redirect New Users to App Custom Pages

function my_appfbconnect_redirect($redirect_url, $user_id, $is_new_user) {
   if( $is_new_user )
      return  'language-settings'; // page slug from app's custom page
   else
      return 'tokyo-japan-map'; // page slug from app's custom page
}
add_filter('appfbconnect_redirect', 'my_appfbconnect_redirect', 10, 3);

Place this code in a file located at /wp-content/mu-plugins/my-appfbconnect-redirect.php

Other Custom Login Redirects

If you would like to redirect your users who login without the Facebook login, take a look at these other custom login redirects.