Coding Problem :
I’m developing a PHP application that returns the facebook user list of friends. Although I specified the domain and the site URL in the Facebbok app I created, I get the following message:
The URL you entered is not in the release list in the
Client OAuth: Redirect failed because URl used failed
is in the release list in the client’s OAuth settings.
app. Make sure that the client and web OAuth login
is active and add all domains of your application as URls
valid for OAuth redirection.
I noticed that using the localhost address there was an error, so I modified the Xampp settings to change the default from localhost to testleonardo.com. I take this opportunity to ask: could I also return all the friends of my friends? Or would this be a privacy violation?
Answer 1 :
It’s quite simple to solve this.
/etc/hosts (unix) or
Assuming your domain is testeleonardo.com, add this line:
Then in your test, open
local.testeleonardo.com in your browser that should work.
Of course you could still put the application url on your facebook application settings for testing.
Answer 2 :
Answer 3 :
Answer 4 :
Answer 5 :
Answer 6 :
Answer 7 :
Answer 8 :
Answer 9 :