I have a script that gets the top 3 tweets from my feed. This was working just fine but now it is returning the following error in the JSON:
{"errors":[{"message":"Sorry, that page does not exist","code":34}]}
Twitter describes this as a classic 404 not found error, but I do not see any disruption from the API status' on the Twitter website.
Has something changed in the way we now fetch Tweets?
My code:
$.getJSON('http://twitter.com/statuses/user_timeline.json?screen_name=' + user + '&count=3&include_rts=true&callback=?', function(data) { });
Thanks.
You're using the wrong link, https://api.twitter.com/1/statuses/user_timeline/jbrooksuk.json
Try this:
$.getJSON('http://api.twitter.com/1/statuses/user_timeline/' + user + '.json?count=3&include_rts=true&callback=?', function(data) { });
I also found my Twitter feeds had stopped working today. It is the same problem for the links to RSS feeds.
This was working yesterday:
'http://twitter.com/statuses/user_timeline.rss?screen_name='.$screenName.'&count='.$limit;
but now the URL has to be:
'http://api.twitter.com/1/statuses/user_timeline.rss?screen_name='.$screenName.'&count='.$limit;
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With