I have a problem with extended permissions to my app.
When i have no facebook connection session (!Facebook::getSession()) iam reloading page to Facebook::getLoginUrl(array())
This URL returned is concretly https://www.facebook.com/login.php?api_key=153862711317576&cancel_url=http://www.praguebistro.cz/facebook/chance/web/&display=page&fbconnect=1&next=http://www.praguebistro.cz/facebook/chance/web/&return_session=1&session_version=3&v=1.0&req_perms=read_stream,email,user_photos
When iam logged into Facebook URL is automaticaly reloaded into Permissions confirm URL, but without perms parameters.
Anyone to know how can i fix this?
Thank you V.M.
Solved – FB does not understand when you’ll encode URL into entities. I forced to reload it unencoded and its working like a charm.