DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

Public Twitter Friends Feed

05.12.2009
| 5637 views |
  • submit to reddit
        Public version of your otherwise private Twitter friends timeline RSS Feed.  Save this as twitterfriends.cgi in your cgi-bin and point soup.io at it to get a Social Thing like listing of your friends twitter updates.

#!/bin/sh
# Get the following link by clicking on the RSS Feed button in your sidebar below the list of followers
# You will then need to add username:password and change it from http to https

friendsrssurl='https://user:password@twitter.com/statuses/friends_timeline/19714857.rss'

echo "Content-type: text/plain; charset=iso-8859-1"
echo
curl -s "$friendsrssurl"