How to reply to particular tweet using Twitter API?

Is it possible to search retweet, favorite & reply counts for a specific tweet on a specific date using Twitter's API?

  • If so, how many API calls per date would this use? Would it be calculated like so... Count type (retweet etc) x tweet x date? We're trying to work within Twitter's API limitations. BTW I'm a newbie if you hadn't guessed!!!

  • Answer:

    According to the twitter api documentation, the API call https://dev.twitter.com/docs/api/1.1/get/statuses/retweets/%3Aid returns the 100 most recent retweets of the tweet specified by the id parameter (which is the status number...). So a single call will get you a good number of retweets, but there do not seem to be any calls for finding favourites or replies.  Check out https://dev.twitter.com/docs/api/1.1 for more info.

Nigel Legg at Quora Visit the source

Was this solution helpful to you?

Other answers

No, it's not possible. All options will require you to do your own local processing to get counts, and you are limited in the number of queries you can make each hour. If you are querying other users. You can only get the last 100 items using the https://dev.twitter.com/docs/api/1.1/get/statuses/retweets/%3Aid functionality. If you are querying retweets of yourself, or for a user who has authenticated using your service, you can use https://dev.twitter.com/docs/api/1.1/get/statuses/retweets_of_me, you are still limited to 100 tweets per query but you should be able to get more over multiple queries. Another option is to use https://dev.twitter.com/docs/api/1.1/get/search/tweets with the information from the tweet.

Daniël W. Crompton

Your answer is in the first list of things you get when reading the API documentation, perhaps starting from there may be better.

Miguel Mateo

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.