I’m using twitter’s API to search for tweets, and I want to be able to update the timeline.
According to “Working with Timelines”, I need to pass the parameters max_id and since_id (ids of the first and last tweets), which I obtain with :
$(’#max_id’).text(tweets.max_id_str);
$(’#since_id’).text(tweets.results[tweets.results.length - 1].id_str);
But when I update I only get the latest tweet (which was already displayed), then nothing, since max_id is now equal to since_id.
Obviously I’m doing something wrong, but what ?