Website with Facebook Login:http://centshark.com
Eror: {"error":{"message":"Invalid redirect_uri: Given URL is not allowed by the Application configuration.","type":"OAuthException","code":191}}
Website with Facebook Login:http://centshark.com
Eror: {"error":{"message":"Invalid redirect_uri: Given URL is not allowed by the Application configuration.","type":"OAuthException","code":191}}
in the facebook App Page, goto the basic tab. find "Website with Facebook Login" Option.
you will find Site URL: input there put the full URL ( for example http://Mywebsite.com/MyLogin.aspx ). this is the URL you can use with the call like If the APP ID is 123456789
if you using Facebook PHP SDK...
in callback script need change
$accessToken = $helper->getAccessToken();
to
$accessToken = $helper->getAccessToken('https://example.com/fb-callback.php');
where 'https://example.com/fb-callback.php' it's URI to your callback script
and add this URI to "Valid OAuth redirect URIs" to "Application configuration" on Facebook->My Apps-> Settings-> Advanced