eliseworthy/feed_engine — pull request #59 by travisvalentine (2012-05-21 01:20:01+00:00)
Title: Add/remove instagram, add oauth secret and token to subscription for Instagram and Twitter auth

This pull request makes the following two cards work:

https://www.pivotaltracker.com/story/show/29404817
https://www.pivotaltracker.com/story/show/29736043

It also adds columns to the subscriptions table. This allows us to save oauth_token and oauth_secret on the Subscription when a user connects their account to a service. This is especially needed for authenticating a user's request through the Twitter and Instagram gem. However I'm not quite sure how to integrate the oauth stuff into the model when we make a request. I need some help with that.

FYI, here's what we get back when raising auth_request inspect for Twitter and Instagram: https://gist.github.com/2760196