Question

I am in the process of converting my FBML application to iframe as per Facebook's new requirements:

No new FBML applications We will stop allowing new FBML applications, but will continue to support existing FBML tabs and applications. Instead, we recommend using IFrames.
--Facebook Roadmap http://developers.facebook.com/roadmap

Now my application allows you to post your creation to another users wall (or a fan/group page). My old application used the FBML fb:friend-selector to allow the user to pick a friend, and it would grab the id of them, and post on their wall using FBJS Facebook.streamPublish.

My question is, how do i go about doing the same thing in an iFrame? As far as i am aware, the only option i have is:

  • Use FBML in the iframe and have the js SDK turn it into an ugly, hard to access iframe (which also defies the point of sticking it all in a iframe in the 1st place, as it is going to be removed at somepoint?)
  • Create my own friend selector using graph api or something. Have yet to see a working example of that in action, makes me wonder if it is possible.

Are there any other options out there, or does anyone have a working custom friend selector in an iFrame?

Thanks in advance :)

Was it helpful?

Solution

You can accomplish this with XFBML in the iFrame (the same way you would handle this on an off-canvas FB Connect application). Here's a post with more details.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top