Twitter API: Follow Tweet Search

Is there a way to search for words in tweets of user subscribers. Obviously, the search API is global. I want to search only in user subscribers.

Is there any way to do this. Even very difficult will be appreciated.

+6
source share
1 answer

You can get user subscriber IDs using GET http://api.twitter.com/1.1/followers/ids.json?screen_name=<username> . Each identifier corresponding to the user can now download tweets of each follower using the GET http://api.twitter.com/1.1/statuses/user_timeline.json?user_id=<follower ID> . I admit that Twitter APIs (which are speed limited) require a lot of requsets, but you cannot improve this API.

+4
source

Source: https://habr.com/ru/post/920121/


All Articles