Trying to log in with Facebook using the below code. code

I get the following error: URL Blocked: This redirect failed because the redirect URI is not whitelisted in the app’s Client OAuth Settings. Make sure Client and Web OAuth Login are on and add all your app domains as Valid OAuth Redirect URIs. Error

In the advanced tab, Valid OAuth redirect URIs is set to: https://smarteresto.com/facebookpost/callback

More settings

App key and secret are correct. Facebook SDK for PHP (v5)

Tag:facebook, facebook-graph-api, facebook-php-sdk

Add a new comment.