Pages

Showing posts with label lator. Show all posts
Showing posts with label lator. Show all posts

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);