简体   繁体   中英

Can we get 100 tweets from twitter in less than 1 minute using any API / Library?

I am using the twitter api but its taking about 15 minutes to fetch about 180 tweets about the specified # tag. Is there any way that we boost the tweets number. i want to get about 150 tweets in less than a minute.

You might use tweepy for the library side of things.

Use the official search API for getting the tweets:

GET https://api.twitter.com/1.1/search/tweets.json?q=%23abcd

Where the query parameter can be a string or a hashtag. (%23 being the url encoded # ) More information is available here: https://developer.twitter.com/en/docs/tweets/search/api-reference/get-search-tweets.html

Note : Search API is OAauth authenticated, so you'll need to include your access tokens to the API call.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM