If you are getting this error "Given URL is not permitted by the Application configuration:". You need to define "OAuth Redirect URIs" on your facebook app setting. To resolve this, please follow the below step:
1) Open your facebook developer account
2) Open your App getting this error
3) Click at Setting -> Advance
4) Find "Valid OAuth redirect URIs" below of your page and mark your redirect URI here as given below:
Your App Url :: http://www.example.com/abc/index.php
Redirect URI :: http://www.example.com/abc/oauthcallback.html
0 Comment(s)