Facebook redirect url contents
Okay, the new phase of my project is rewriting ours FB App
for a new one v4 PHP SDK
. What should it look like redirectUrl
? Currently what happens during login:
1) I am creating FacebookRedirectLoginHelper
(derived class) using it to create loginUrl
with url
in my application (example.com/myApp) as redirectUrl.
2) Put this in a nice button for the user to click
3) When user clicks appears FB Oauth dialog
, user clicks ok
4) My next page (which will connect facebook UID
to an account on our system) will appear - but not in the context of Facebook - it basically exits iFrame
.
I installed redirectUrl
as url
my application:
https://example.com/myapplication/index
Looking through the various comments, it seems like it should be the Canvas page URL from my application settings:
https://apps.facebook.com/<my app id>
But if I do that, it goes into an infinite loop, just pushing my cute button (from # 2) back and ...
What should be the value for redirectUrl
?
source to share