简体   繁体   中英

How to get Tweets by keyword and hashtag for specific user?(PHP API)

I need to get tweets based on specific keyword and hashtag for a specific user.

for example, if we search "user= @test; hashtag= hiphop". So, any @test tweets will appear in the feed, and any time the hashtag #hiphop is used, those tweets will be pulled in as well.

Thanks.

Tweets from @test containing #hiphop or hipop, using the q parameter :

from:@test (#hiphop OR hipop)

(a space is an AND )

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