Sunday 19 March 2017

Twitter api search tweets tweeted by user

I'm trying to search tweets tweeted by a specific user, but I can't decipher the documentation.

I read through this page https://dev.twitter.com/rest/public/search, and this page https://dev.twitter.com/rest/reference/get/search/tweets and I can see that there is no parameter user or something similar.

But at the bottom of the first page is:

When you want the most popular tweets of a specific user using a hashtag:

You want: popular Tweets from @Cmdr_Hadfield mentioning the hashtag #nasa
Your search URL is: https://api.twitter.com/1.1/search/tweets.json?q=from%3ACmdr_Hadfield%20%23nasa&result_type=popular

Why isnt that documented on the page anywere? Is %3A = @? How do I actually make that search?



via Bogdan Daniel

No comments:

Post a Comment