php - facebook redirect url contents -
ok, new phase of project rewriting our fb app
new v4 php sdk
. should redirecturl
like? currently, happens during login flow:
1) create facebookredirectloginhelper
(derived class), use generate loginurl
url
app (example.com/myapp) redirecturl.
2) put nice button user click
3) on user click, fb oauth dialog
comes up, user clicks ok
4) next page (which connect facebook uid
account in our system) comes - not within context of facebook - basically, breaks out of iframe
.
i have set redirecturl
url
of application:
https://example.com/myapplication/index
looking through various comments, seems ought canvas page url app settings:
https://apps.facebook.com/<my app id>
but if that, goes infinite loop of putting nice button (from #2) on , on and...
what should value redirecturl
?
assuming creating canvas app, users not see callback url. should put url on website fits facebook canvas.
e.g.
http://www.example.com/facebook/yourappname/
Comments
Post a Comment