I need to find all tweets made by a defined app.
I discovered the "source" search operator that allows to do that.
For example, here is the URL of the search to find all tweets made with Tweetbot for iOS: https://twitter.com/#!/search/source%3ATweetbot_for_iOS
The problem is I need to get the result as JSON or XML. Here is what is indicated on the Twitter search API documentation
- Run your search on twitter.com/search.
- Copy the URL. For example: https://twitter.com/#!/search/%40twitterapi
- Replace https://twitter.com/#!/search/ with http://search.twitter.com/search.json?q=. For example: http://search.twitter.com/search.json?q=%40twitterapi
It gives us http://search.twitter.com/search.json?q=source%3ATweetbot_for_iOS which returns
error: "Invalid query"