简体   繁体   中英

How to calculate retweet of any URL, without login from Twitter API

I am new to twitter API. Is there any way that i can get number of retweet of any URL. I want to calculate it without any login into twitter.

This will return a simple json with a count property of re-tweets for a specific URL http://urls.api.twitter.com/1/urls/count.json?url=SOME_URL_HERE

Example:

API CALL:

http://urls.api.twitter.com/1/urls/count.json?url=http://techcrunch.com/2011/07/05/kissmetrics-now-lets-sites-analyze-their-users-browsing-habits-%E2%80%94%C2%A0before-they-even-sign-up/

JSON RESPONSE:

{"count":235,"url":"http://techcrunch.com/2011/07/05/kissmetrics-now-lets-sites-analyze-their-users-browsing-habits-%E2%80%94%C2%A0before-they-even-sign-up/"}

What do you want to calculate? How effective your marketing strategy is?

This is not possible via twitter.

Of course you can do: use the search API via link:yourlink or you could use bit.ly and their statistics to see who tweeted about destinct urls. Another solution could be http://jetwick.com which is open source now

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM