My Code: https://graph.facebook.com/oauth/authorize?client_id=174375686054021&redirect_uri=http://centshark.com/app/fblogin.aspx&scope=offline_access,publish_stream
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
https://graph.facebook.com/oauth/authorize?client_id=123456789&redirect_uri=http://Mywebsite/MyLogin.aspx&scope=publish_actions
I was able to fix the problem under BASIC Tab by 'Add Platform' and 'Website' using the standard http:// site URL.
and
Going to ADVANCED Tab and under 'Security' Section placing the Site URL in the 'Valid OAuth redirect URIs' field.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With