简体   繁体   English

如何通过关键字和主题标签获取特定用户的推文?(PHP API)

[英]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". 例如,如果我们搜索“ 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. 因此,任何@test推文都将出现在摘要中,并且每当使用#hiphop标签时,这些推文也将被拉入。

Thanks. 谢谢。

Tweets from @test containing #hiphop or hipop, using the q parameter : 使用q参数来自@test的包含#hiphop或hipop的推文:

from:@test (#hiphop OR hipop)

(a space is an AND ) (空格是AND

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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