Search code examples
ruby-on-railsfacebookfbmlfacebooker

FBML in Rails views using Facebooker


I have successfully wired up a Facebook Connect application and everything is working fine. I can sign new users up with Facebook, or I can link existing users with Facebook. No problems there.

However, now I am trying to add an Invite page, where a user can see which of their Friends have the application, and then show them a Facebook FMBL Multi Select form to invite friends into it.

Here is the documentation for that FBML tag.

http://wiki.developers.facebook.com/index.php/Connect/Integrating_an_Invite_Form_into_Your_Website#Creating_a_Full_Multi-friend_Selector_Request_or_Invite

However, I cannot get this to work within my Rails view.

Do I need to setup something special to use FBML in my Rails views?

THIS IS NOT A CANVAS Application, meaning I want people to come to my site and not visit the page through facebook, but I feel like I am missing something.


Solution

  • if you develop a facebook connect site, it uses XFBML. XFBML for Facebook connect and iframe applications and FBML for facebook canvas applications. And, facebook multi-friend-selector is FBML tag.

    But, you can call FBML inside of XFBML, so you should check this page.

    http://wiki.developers.facebook.com/index.php/Fb:serverFbml

    this could help.