Twitter api 1.1 url count alternative

I use the old url api (v1) to get the count of the given URL, lately I also needed to get repeated tweets and start searching about it.

this is the exact url i'm using right now: http://urls.api.twitter.com/1/urls/count.json?url=http://google.com

As I browsed with some reading, the v1 api is deprecated, but at least it still works.

I found a few questions on the twitter dev page:

https://dev.twitter.com/discussions/12643

These are a bit old questions and do not have a concrete solution to the problem. I mean, the closest solution is to search api (search / tweets), which may be nice, but not exactly a replacement for the urls / count method.

Please note that the Twitter search service, and the search API should not be an exhaustive source of tweets. Not all Tweets will be indexed or accessible through the search interface.

also it has a limit for 100 results on the maximum page, even if it throws a link to get the next set of objects, thatโ€™s good, but when the search reaches 1 million results, I will need to get a page per page so far, how many tweets I got and should do to make a big request for api ...

I was looking for some question on the dev page on twitter, proposed using the api stream, I tried using (status / filter), but this doesnโ€™t work very well, considering the URL as a parameter of the track (which they say is the keyword for tracking).

So, did anyone who used the old urls / count find a reliable alternative to the new apiv1.1, especially for getting tweets and re-tweets for a given URL?

+8
twitter tweets
source share
1 answer

The official offer of Twitter employees is that either the search/tweets (having only the latest data for 7 days) or the Streaming API will be used (process the counters themselves, making everything too complicated for the * mn ad counter).

As an additional warning, the old endpoint ( http://urls.api.twitter.com/1/urls/count.json?url=YOUR_URL ) will stop working on November 20 and, according to this blog post on Twitter, there are no plans to replace it anything in the short term, and they even delete the account from their own buttons.

+1
source share

All Articles