How to fetch tweet video & more than 100 tweets using Twitter Search API -


i using https://api.twitter.com/1.1/search/tweets.json?q=' . $_post['keyword'] . ' tweets of searched keyword.

i able till 100 tweets need display full 3,200 tweets. how can this? how video tweets?

for videos, twitter still working on , time being video results not coming in "search api". can track here(see @ few last comments): https://twittercommunity.com/t/twitter-video-support-in-rest-and-streaming-api/31258/38

for more 100 tweets, can call api next tweets per below:

  1. find the highest id(data[data.length - 1].id) in twitter results retrieved query
  2. perform same query "since_id" option set id found.

ex: https://api.twitter.com/1.1/search/tweets.json?q=nature&since_id=602821207268921300


Comments

Popular posts from this blog

javascript - AngularJS custom datepicker directive -

javascript - jQuery date picker - Disable dates after the selection from the first date picker -