Tuesday 26 November 2013

How to Create RSS Feeds in Twitter

The trick is simple. Twitter offers widgets to help you embed user timelines into your website.  The new workaround simply transforms these Twitter widgets into regular RSS Feeds with the help of a simple Google Script. Here’re the instructions:
  1. From your Twitter homepage, go to Settings -> Widgets (link) and create a new widget. You can create widgets for user timelines, favorites, Twitter list and search results.
  2. Once the new widget is published, make a note of the widget ID which you can find in the the URL of the widget.
  3. Click here to make a copy of the Google Script and choose Run -> Twitter_RSS to initialize and authorize the script. You’ve to do this only once.
  4. Go to Publish -> Deploy as Web App and click the “Save New Version” button. Set Anyone, including Anonymous under Who has access to the app and hit Deploy.
Google Script will now create a unique URL for your RSS web app that will look something likehttps://script.google.com/macros/s/ABCD/exec. Just append the Twitter Widget ID (created in Step 2) to this URL and your RSS feed for Twitter is ready.
For instance, if the Twitter widget ID is 123456, your RSS Feed URL would be:
https://script.google.com/macros/s/ABCD/exec?123456 
Should you wish to create another RSS Feed for Twitter, just add another widget and use that new widget’s ID with your Google Script URL. [Video Tutorial ]
You can subscribe to the Twitter RSS feed inside Feedly or use it as for an IFTTT recipe. However, FeedBurner is unable to parse RSS feeds generated through Google Scripts.

No comments: