Emili Parreño

Using Facebooker with jQuery

13 Aug 2009 | Rails

Facebooker is a great plugin/gem for Rails which allows to connect Facebook, use your API and build applications, but.... only works with Prototype.

Don't worry, you can use Facebooker with jQuery easily. Find this code line in your layout

<%= init_fb_connect('XFBML') %>

and replace with

<%= init_fb_connect('XFBML', :js => :jquery) %>

And that's all! Now Facebooker works fine.