Hi,
i’ve a question about new twitter API 1.1
Now i use: http://urls.api.twitter.com/1/urls/count.json?url=SOME_URL_HERE and i get number of retweet of any URL.
Wich is the new function in API 1.1 to get number of retweet of any URL?
Thanks.
episod
#2
That is an undocumented endpoint that is not permitted for use in any version of the API.
1 Like
Is there no alternative to get retweet by url?
Thanks
episod
#4
Counting in real time using the Streaming API is the recommended approach.
[faq:6899]
@episod, can you provide an example using the above APIs that you mention?
16LSA
#6
{“count”:0,“url”:“http://some_url_here/”}
16LSA
#7
{“count”:0,“url”:“http://some_url_here/”}
Inside of each record from https://api.twitter.com/1.1/statuses/retweets there is a attribute called “retweeted_status”, witch has the “retweet_count” that you seek.
Did anyone find a way for this to work? The problem I see with using the streaming API, is that it returns a list of all of the tweets containing the url, where all we need is the count, and it is limited to 100 replies. For a high traffic link this is not going to work.