taspinar / twitterscraper

Scrape Twitter for Tweets
MIT License
2.4k stars 578 forks source link

How to search for users not tweets, if there is a common string in the users I'm searching for #289

Open youssefsaqr opened 4 years ago

youssefsaqr commented 4 years ago

some users in Arabic have a specific string added to their user fullname, like a job or profession.

example: a user fullname could be ('Teacher John' or 'teacher Michal'...etc) so I need to search with the word ('Teacher' or 'teacher') to get all the users who have this word in their user fullname.

how can I do this?

toscanopedro commented 4 years ago

use the word "from" with a space in the begin. like this ' from:youssefsaqr'

lapp0 commented 4 years ago

Try this twitter API https://developer.twitter.com/en/docs/accounts-and-users/follow-search-get-users/api-reference/get-users-search