Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Facebook Connect + restful_authentication

I've been following Stuart's tutorial at http://www.madebymany.co.uk/tutorial-for-restful_authentication-on-rails-with-facebook-connect-in-15-minutes-00523

and have been having a problem:

  • I get a NoMethodError in UsersController#link_user_accounts; Rails doesn’t seem to recognize “facebook_session”. I have facebooker installed and have successfully authenticated using the normal Facebook API methods.

Has anyone tried this before? Anyone know what might be wrong? It seems that somehow the Facebooker library isn't getting fully loaded...

like image 459
Avishai Avatar asked May 19 '26 00:05

Avishai


1 Answers

If you're trying to integrate Facebook Connect authentication to your application, I would strongly recommend switching from restful_authentication to Authlogic. It has an addon that gives you easy to use access to Facebook Connect.

You can download an example app that uses Authlogic here to take a look.

like image 97
Mike Trpcic Avatar answered May 21 '26 14:05

Mike Trpcic



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!