maxiperez
maxiperez

Reputation: 1480

Twitter connect in Rails

Excuse me.

I am using rails 2.3.8 and RESTFul Authentication.

I need to connect to my site through twitter credentials. So I need a button which connect with twitter and then redirect to action.

In action I must create a new user or update twitter_id.

Please I need help. How can I connect via twitter? I need a tutorial or advice.

Thanks

Upvotes: 0

Views: 220

Answers (2)

Petya petrov
Petya petrov

Reputation: 2213

Also check out great Ryans screencasts 1, 2, 3,

Upvotes: 1

halfdan
halfdan

Reputation: 34204

I suggest you use the OmniAuth gem which provides twitter authentication. You can install it using gem install omniauth and easily integrate it into your Rails app. You can find the documentation here.

While working with omniauth you might want to have a look at the Twitter OAuth FAQ and create a new app to get your twitter credentials.

Upvotes: 2

Related Questions