samedi 1 décembre 2018

Twitter API looping through Tweets search [ Laravel 5.4 ]

Im working with the Twitter API and i'm only getting the the first 100 result

$connection = new TwitterOAuth( '--' , '--' ,'--', '--');
$matches = $connection->get('search/tweets' , ['q' => 'john' , 'count' => 100 , 'result_type' => 'recent']);

My question is how to loop for 1000 search results ?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire