I need 3 simple PHP scripts to use in my Facebook app. These scripts must work with an Iframe and OAuth 2.0 Canvas and on any page. I also need this code to be still working next year! So no depreciated code.
1). Invite friends - (not as a pop up - as a single webpage), however, the width of the invite box must not exceed 680px.
2). Post to wall (application to users wall) - basic post to wall with a picture of my choice. Once user accepts or cancels the post to wall box, the application needs to continue to the next webpage.
3). Pop Up - Basic Facebook information type pop-up - 'Thanks for logging in, why not invite your friends.'
The app itself only authenticates the user when they first log in, so there are no Facebook API calls on individual pages. So if a call is required then it must be included in the code (please state where HEAD/BODY/etc)
I am a fairly competent PHP programmer, but have struggled to fully understand the OAuth bit and have been unable to get these features working, so please assume you are dealing with an