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);
Good article
ReplyDeletehttps://wordpress-special-plugin.blogspot.co.id