I have written a Facebook application (it puts blog/podcast posts on the canvas page - but that isn't relevant to my question). The application has worked fine up to now. However, I am now having to rewrite it. First, it now needs to be converted to an iframe app because Facebook will soon cease to support FBML applications. Second, it needs to support OpenAuth methods for users to authorise the app, because Facebook have indicated that they want to move all authentication/authorisation to OpenAuth. It is this second aspect which is causing me difficulty. Reading the Facebook Developer documentation is like wading in treacle. There seem to be large gaps, and a lack of examples, and many of the links are broken.
The most useful thing to me would be some example php code for - testing whether the Facebook user has authorised the application; - redirecting the user to an authorisation dialogue if he/she has not authorised; - what needs to be done after the user has authorised.
Anyone help?
Authorising a Facebook Application
Moderator: General Moderators
-
cpetercarter
- Forum Contributor
- Posts: 474
- Joined: Sat Jul 25, 2009 2:00 am