Pages

Tuesday, November 6, 2012

Redirection facebook authentication "An Error occured please try lator"

Check that app host address is same as in redirect url parameter of your PHP SDK

$params = array(
  'scope' => 'read_stream, friends_likes',
  'redirect_uri' => 'https://www.myapp.com/post_login_page'
);

$loginUrl = $facebook->getLoginUrl($params);

1 comment:

  1. Good article

    https://wordpress-special-plugin.blogspot.co.id

    ReplyDelete