Get your Twitter™s Tweet as RSS with with example of my own Twitter Account. This will support the new Twitter API and will generate RSS Feed. Actually we described the thing before here – Get your Twitter™s Tweet as RSS and JSON with New Twitter API. And here is a working example of my Twitter Account as RSS Feed (you’ll need a RSS Reader). It is working because this is an application.
Get Twitter™s Tweet as RSS : Fundamentals
Please read the previous guide carefully for creating an Twitter Application part. But do not use that old PHP code, this is newer method !
All tools like RESTful API Testing Tool will be used as usually. The code part is upgraded from my side (in other words).
---
The basic problem was, Twitter with API upgrade removed the support for RSS. Otherwise we used Twitter RSS by simply by using this URL convention: https://api.twitter.com/1/screen_name/lists/list_name/statuses.rss format. Twitter has not removed the support for JSON as output. But RSS readers are not compatible with JSON feeds. So in other words – this is full fledged application with lot of other features – its simply a web App.
Get Twitter™s Tweet as RSS : Fundamentals
Minimum Needs :
- PHP 5.3+
- Probably SSL URL is better
- White listed IP is safer, if you fetch too much; Twitter will ban the App
Source Code :
We will push it to GitHub after adding a Web Interface (so that no RSS reader will be required). Fundamentally, I have used the source code of :
https://github.com/thomasyung/twitter-json-to-rss
Obviously with some modification for caching and a database, there is some difference with his application – but if you follow his way of generating Feed, it will work. We will give update of new web application as a new post after we push it to GitHub. That is basically a nice set of PHP script.