
Go ahead and follow on twitter and you’ll start seeing these blog posts. Once this is in we’ll start seeing tweets like The rest of it is to shorten the title so twitter’s 140 character limit wont cut off the url or the author’s name. With the twitter gem its one line to tweet Twitter.update(tweet).
#Twitter feeds in google reader update#
update ( tweet ) end end endĪgain with the “if ?” paranoia? You do know that you can never be too paranoid :) The app periodically scans the rss feeds it tracks and when it sees a new post it creates it in the app’s database.įirst we add a twitter_username to each feed we’re tracking class AddTwitterUsernameToFeeds :feed def twitter_username_with_at_sign # " Twitter. Great we just tweeted our first tweet for the world to see. tweet ( ' aggregates blog articles' ) => # some big object returned > Twitter. We can test it out (after deploying with git push heroku) $ heroku console > Twitter. $ heroku config:add TWITTER_OAUTH_TOKEN_SECRET=XXXXXXXX $ heroku config:add TWITTER_OAUTH_TOKEN=XXXXXXXX $ heroku config:add TWITTER_CONSUMER_SECRET=XXXXXXXX $ heroku config:add TWITTER_CONSUMER_KEY=XXXXXXXX Secondly, setting the tokens on the heroku environment (I typed the real tokens instead of the XXXXXXXX’s). Just open the blog or website with your browser, click the Feedbro icon and select 'Find Feeds in Current Tab'. Yes I am somewhat paranoid about accidentally tweeting from development but that if ? should save me. It is very easy to add new feed subscriptions to Feedbro. Now that I had the keys and tokens from twitter I had to tell my application to use them without hardcoding them in my code.įirst, configuring the app to read the tokens from the environment in config/initializers/twitter.rb. The only trick was I had to go Application Settings tab and configure it for Read and Write access

I have to give a shout out John Nunemaker for writing this fantastic gem which made my task so simple. Once I had this I added the twitter gem to my application. When new posts come in it should tweet them letting you see them if you follow Enabling API access to twitter We know many of you will be sad to see it go. I decide that if we’re going to follow people on twitter that’s what my site should facilitate. Google Reader (googlereader) / Twitter Google Reader googlereader News, tips and tricks from the Google Reader team Joined January 2009 7 Following 125.1K Followers Tweets Replies Media Google Reader googlereader We're retiring Reader on July 1. Now that its 2011, I’ve been asking myself how could I update for the twitter world of today?

I was so excited I even wrote an article about it. Readers tweet and retweet articles they find interesting which seems a lower barrier than leaving an “I like this” comment.Īs an author Twitter also gives you some idea of who is reading your posts and a way to connect with them.īack in 2008 I created a blog aggregator site to group the all the people I work withĪnd promote others to share their thoughts. In 2008 I thought RSS was an awesome way to stay abreast of what’s going on, but now its 2011Īnd I find myself using Twitter more often than Google Reader to find new and interesting articles people have written.
