Thursday, 12 September 2013

"Redirect url" error in facebook api

"Redirect url" error in facebook api

I am working on facebook api. I want to get all facebook post of a user. I
have set the app_id, secret and permission in my code.
This code is working on my localhost perfectly. but when I am putting it
on server then during authentication it is giving error :
This webpage has a redirect loop
My code is located at the url :
https://github.com/ucerturohti/facebookapitest.git
and the app is located at
https://statusupdates.herokuapp.com
update
When I am putting redirect url "https://statusupdates.herokuapp.com" then
its authenticating.
but when I put redirect url as
"https://statusupdates.herokuapp.com/getlike.php" then it is giving error.

No comments:

Post a Comment