Blog

10 Oct
2012

Twitter Icon Logo

Twitter RSS url feed can't be read... FIX


Quick Note: (UPDATED 05 MARCH 2013) This RSS url will cease working in March 2013! So I suggest NOT using this RSS feed url. I am now using the Twitter API1.1 so therefore my old RSS feed was last working on the 01 March 2013. Read this new article about Adding a Twitter feed APP to WordPress.

The problem which I had with my twitter RSS feed was that it suddenly stopped working. So after searching around on the web... here is the solution I found.

If you have used:

https://twitter.com/favorites/TWITTER_USERNAME.rss

or

https://twitter.com/statuses/user_timeline/TWITTER_USERNAME.rss

You now need to use:

https://api.twitter.com/1/statuses/user_timeline.rss?screen_name=TWITTER_USERNAME

Or if you have a twitter name which has an underscore (_) use:

(Thanks to claneksi for this snippet of code)

https://api.twitter.com/1/statuses/user_timeline.rss?user_id=TWITTER_ID

See comments below for how to find your TWITTER_ID.

If you do have a php script (See this code) it would be best you backup the RSS feed to another file on your server based on a schedule, such as every 10 minutes. The reason being that twitter does limit the amount of times the RSS feed can be read per hour based on your website IP. If you don't twitter that often it might be worth setting the schedule to an hour.

Tagged: < fix | rss | stopped working | twitter >
Posted in: < PHP and HTML and CSS >
me@grafxflow avatar

me@grafxflow


I am a Full-stack Developer who also started delving into the world of UX/UI Design a few years back. I blog and tweet to hopefully share a little bit of knowledge that can help others around the web. Thanks for stopping by!

Visitors also viewed these posts

24 Thoughts

  1. 11 Oct
    2012

    avatar

    Doug

    Thanks, I used that for my RSS feed in thunderbird. I suppose when they finally make it go away, I'll have to do something else!
  2. 11 Oct
    2012

    avatar

    Marcelo Kallocsaih

    Thanks man, right on the spot!
  3. 11 Oct
    2012

    avatar

    Benjamin Hansen

    so lame that they are ditching rss i would never bother with twitter if it were for the feeds. thanks for the temp fix.
  4. 12 Oct
    2012

    avatar

    claneksi

    Thanks a lot!
    Also for those who prefer to use user id numbers instead of screen name can use this.

    http://api.twitter.com/1/statuses/user_timeline.rss?user_id=TWITTER_ID
  5. 12 Oct
    2012

    avatar

    me@grafxflow


    http://api.twitter.com/1/statuses/user_timeline.rss?user_id=TWITTER_ID


    Thanks for that. Another one to add to the list.
  6. 15 Oct
    2012

    avatar

    Angilee

    Anyone figure out the URL for and RSS feed for Twitter lists?
  7. 15 Oct
    2012

    avatar

    me@grafxflow

    Does this work?

    http://api.twitter.com/1/AUTHOR/lists/TWITTER-LIST/statuses.atom
  8. 18 Oct
    2012

    avatar

    wow

    thx. i found a answer!
  9. 18 Oct
    2012

    avatar

    Vivi

    Thank you soooo much! My Twitter RSS feeds just stopped working and I couldn't figure out the solution.. until I found this page by googling. Cheers from Finland xxx
  10. 19 Oct
    2012

    avatar

    Juan

    Thanks, it works for now
  11. 22 Oct
    2012

    avatar

    Hansie

    Thank you so much! It works fine again. I could not find this info on Twitter (last week)!
  12. 28 Oct
    2012

    avatar

    sjay

    Thanks so much. I can't get this to work for twitter usernames that use an underscore _, any thoughts?
  13. 29 Oct
    2012

    avatar

    me@grafxflow

    You could try using the other method, of the user id number.

    http://api.twitter.com/1/statuses/user_timeline.rss?user_id=TWITTER_ID

    Find the id with the following.

    mytwitterid.com/
  14. 30 Oct
    2012

    avatar

    sjay

    That worked, thanks again.
  15. 30 Oct
    2012

    avatar

    b00ms3r

    A big thanks!!!
  16. 20 Nov
    2012

    avatar

    Scott

    This fixed a broken bit of code on a client's site ---WTF did Twitter change this? How irritating - I'm lucky I even stumbled across the client's webpage, otherwise I wouldn't even have been aware of this issue.
  17. 08 Jan
    2013

    avatar

    Annette With Windward

    Thanks - working at this moment!
  18. 08 Jan
    2013

    avatar

    me@grafxflow

    Glad to help
  19. 31 Jan
    2013

    avatar

    Cory

    It doesn't work now.
  20. 31 Jan
    2013

    avatar

    me@grafxflow

    What is your twitter account name, does it have an underscore (_) in the name?
  21. 07 Mar
    2013

    avatar

    jon

    Hi, can you share with us the correct format to use with the 1.1 api?

    The only way I can stomach twitter is within my old, beloved snarfer rss reader. I hope there's a way to continue the twitter to rss conversion - thanks!
  22. 07 Mar
    2013

    avatar

    me@grafxflow

    The correct format is JSON, but it's not as straight forward as the RSS feed. You will need to login in as a twitter developer at dev.twitter.com and set-up an app which will involve telling twitter your website url and other things like (OAuth Settings) Consumer key, Consumer secret, Access token and Access token secret etc. See new post here - Add Twitter feed APP to Wordpress
  23. 10 Jul
    2013

    avatar

    Mr Japanese

    Twitter is effective to create a following. But it's hard to get people following. I think why many pages fail to take off is because the authors don't speak their audience's language.
  24. 22 Jul
    2013

    avatar

    me@grafxflow

    Yes is stopped working back in March 2013. If you are using WordPress then follow the solution here for API 1.1.

Add comment

Add comment