REST API v1
This code is running 5 minutes ago. But now it gives a error as "Failed to load resource: the server responded with a status of 400 (Bad Request)". How can i fix that?
var page = 0;
var kaynak = "https://api.twitter.com/1/statuses/user_timeline.json?include_entities=true&include_rts=true&trim_user=true&screen_name="+usern+"&page="+page+"&count=100&callback=?";
$("div").append("<img src='"+data[i].entities.urls.expanded_url + "'></img>" );
Take a look at the rate limiting documentation on this site. You're being rate limited. That's an unauthenticated request and you can only make 150 of them from an IP address. Also, you're using a deprecated API that will be retired in March 2013.
This topic is now closed. New replies are no longer allowed.