[英]How to fetch tweet video & more than 100 tweets using Twitter Search API
I am using https://api.twitter.com/1.1/search/tweets.json?q= ' . 我正在使用https://api.twitter.com/1.1/search/tweets.json?q= '。 $_POST['keyword'] .
$ _POST ['keyword']。 ' to get the tweets of searched keyword.
'以获取搜索关键字的推文。
I am able to get till 100 tweets but i need to display full 3,200 tweets. 我最多可以发表100条推文,但我需要显示完整的3200条推文。 how can i do with this?
我该怎么办? how to get video from the tweets?
如何从推文中获取视频?
For videos, Twitter still working on this and for time being video results are not coming in "Search API". 对于视频,Twitter仍在处理此问题,并且暂时在“搜索API”中未显示视频结果。 We can track this here(see at few last comments): https://twittercommunity.com/t/twitter-video-support-in-rest-and-streaming-api/31258/38
我们可以在这里进行跟踪(请参阅最后的评论): https : //twittercommunity.com/t/twitter-video-support-in-rest-and-streaming-api/31258/38
For more than 100 tweets, you can call API for next tweets as per below: 对于100条以上的推文,您可以按照以下方式调用API进行下一条推文:
Ex: https://api.twitter.com/1.1/search/tweets.json?q=nature&since_id=602821207268921300 例如: https : //api.twitter.com/1.1/search/tweets.json? q = nature & since_id = 602821207268921300
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.