Posts Tagged ‘facebook’

Aug 28

Hi,

If you was using Facebooker plugin and Jquery on your project, maybe you will have problem implement it cause Facebooker was come with prototype js default.
Here I show how to use Facebooker along with Jquery :

  • open file vendor/plugins/facebooker/lib/facebooker/rails/helpers/fb_connect.rb, then edit it.
  • search for line that contains
  •  options = {:js => :prototype, :app_settings => '{}'} 
  • change
  • :js => prototype
  • into
  • :js => jquery
  • save file

Now you are ready to use facebooker with jquery.

Thanks,