I am using OmniAuth + Devise so that users can register using Facebook / Twitter / Gowalla / etc connected to regular user accounts. Now, when a user logs in using any of them or their account, all their social networks are attached to the authentication table.
I need to be able to extract content from any of these providers, for example, their tweets or their checks on Facebook, etc. I understand that I will need to use another gem, a plugin, to do this, but the config I need to work with these gems (and make requests) is confusing.
I need to have access to provider configuration items in omniauth.rb, so I have API keys and secret keys, etc., then I need to be able to grab tokens from oAuth stuff to make requests.
Other gems such as https://github.com/jrallison/authlogic_oauth seem to store oauth_token, oauth_secret and oauth_token, but OmniAuth does not.
As you can probably say, I'm very new to Ruby, Rails, and oAuth, so this turned out to be a very complicated application. Help is very necessary.
ruby-on-rails ruby-on-rails-3 omniauth ruby-on-rails-plugins
Phil sturgeon
source share