I am trying to exclude the RT tweets but something is wrong when I use the since_id for the next page
1st attempt
That brings the tweets very well
$url = ‘https://api.twitter.com/1.1/search/tweets.json’;
$requestMethod = ‘GET’;
$getfield = ‘?q=’.$tag.’%20-RT%20filter:images&result_type=recent&count=100&include_entities=true&include_retweets=false’;
2nd attempt:
But here in my ajax it repeats itself although the since_id seems to be correct, the tweet content seems to be the same with the 1st load
$url = ‘https://api.twitter.com/1.1/search/tweets.json’;
$requestMethod = ‘GET’;
$getfield = ‘?q=’.$tag.’%20-RT%20filter:images&result_type=recent&count=500&include_entities=true&include_retweets=false&since_id=’.$maxID;
I am passing the maxID correctly, I am sure about that… but I think the API has some bugs, please check out
I tested with the keyword #lrsw14
Run it and see by yourself that it is repeating!