grimen / devise_facebook_connectable

Devise << Facebook Connect. IMPORTANT: Not maintained anymore.
MIT License
146 stars 20 forks source link

How does this work? #17

Closed dbrain closed 14 years ago

dbrain commented 14 years ago

Hey, sorry for the dumb question but what is the use case for this? Can I put a facebook connect link on the sign up page and users can use it to log on to my site? (creating a record for them in my database). Or do they need an account for my site that they can then link to facebook?

Thanks!

joshk commented 14 years ago

Hi dbrain,

I think this is more of a question then an issue. Try asking this on the devise forums first before logging as issue.

As for how facebook_connectable is used, it can be used as a signup/login mechimism similar to vimeo etc. (click on fb connect button, hey presto you are logged in, meaning a user object has been created for you).

As for the linking part, I am not 100% sure on this, but if in doubt, have a go.

Enjoy,

Josh

dbrain commented 14 years ago

Thanks Josh, I didn't realise there was a devise forum.

I have been attempting to use facebook connect (via this plugin, following the instructions) to log in to my application. Currently all it's doing is taking me to the sign up page, and not touching the database. Asked the dumb question because after a while of playing around I was getting nowhere and had a feeling I was trying to make it do something it wasn't built for.

I'll play around a bit more and hit up the forums. Thanks again!

joshk commented 14 years ago

My pleasure, best of luck

dbrain commented 14 years ago

Sorry to hassle again, but do you have a link to the 'devise forums' you mentioned?

My issue at the moment is the facebook_link is trying to use the put method against sessions/new (users/sign_in) which isn't a valid method.

grimen commented 14 years ago

Sorry, don't really got enough info to tell what the question really is. Closing, feel free top re-open with additional info.