Problem with JSON requests


#1

In a website I use JSON requests to show de last tweet of the website owner. This worked fine until now.
Has something changed according to JSON requests?

The used script is:

$.getJSON(“http://twitter.com/statuses/user_timeline/username.json?callback=?", function(data) {
$(”#last_tweet").html(data[0].text);
});

and in the html code de following layer:


#2

One possible reason is that you’re using an API path that’s been deprecated for a few years now and will completely cease functioning very soon. See [node:56] for information on using the right path – you want something more like https://api.twitter.com/1/statuses/user_timeline.json?screen_name=username – also see [node:6218] for an overview of upcoming API changes to see if there’s anything else you should consider.


#3