[help wanted] Stream tweets matching keywords/hashtags + only from certain users
See original GitHub issueHello, sorry first of all to create an issue for help.
Is this library capable of performing a stream function, that only matches against tweets made with certain hashtags/keywords, but also only from certain authors, for example like this which works on twitter.com:
(dragon OR #tesla OR microsoft)(from:elonmusk OR from:billgates)
Or, in URL form: https://twitter.com/search?q=`(dragon OR %23tesla OR microsoft)(from%3Aelonmusk OR from%3Abillgates)`&src=typed_query&f=live
Thank you
Edit: Sub question, could you also stream the tweets made by accounts that a ‘slave’ account follows? To alleviate the need to maintain a list, you could simply follow someone, and their tweets would be streamed.
Issue Analytics
- State:
- Created 3 years ago
- Comments:10
Top Results From Across the Web
Search Tweets - How to build a query | Docs - Twitter Developer
For example, cat #meme -grumpy will match Tweets containing the hashtag #meme and the term cat, but only if they do not contain...
Read more >How to get a stream of tweets from Twitter containing ... - Quora
It is easy to simply find Tweets with a certain hashtag by using Twitter's search function but by using social media aggregator tools...
Read more >Building high-quality filters for getting Twitter data
Tweets with certain content structure (e.g. exclude all Tweets that are just a hashtag with no additional information). Use keywords ...
Read more >The ultimate guide to Twitter advanced search - Zapier
Search Twitter more quickly with these advanced search tips. Narrow down to the people, email addresses, locations, topics, and more with ...
Read more >Real-Time Tweet Analytics Using Hybrid Hashtags on Twitter ...
Keywords : Twitter; Hybrid Hashtags; Big Data stream; ontology; Apache Storm ... Our proposed framework, HHTC, not only helps improve tweet topic ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Well, how many IDs are there in total? I’d guess 149, and you can check that in Twitter’s UI.
“49 more items” is just how
console.log
displays arrays. Tryconsole.log(ids.slice(100)
to see array items #100 through the end, or better yet, use an IDE that lets you step through the code and inspect all array elements.So yep, you can pass that array to other commands.
The
friends/list
endpoint returns friend user objects, but it only returns <200 users per request, and is rate limited at 15 requests per 15-minute window. If you want IDs, friends/ids returns up to 5000 IDs.PS: I’ve edited your post above for formatting. ```s need to be standing alone on the line.