2012-01-16 56 views

回答

26

這似乎是工作,不進行認證:

http://urls.api.twitter.com/1/urls/count.json?url=example.com 

例如,爲了獲得鳴叫的數量this random page on mashable

http://urls.api.twitter.com/1/urls/count.json?url=http%3A%2F%2Fmashable.com%2F2012%2F01%2F21%2Ftop-10-tech-this-week-13 

返回以下JSON:

{"count":1204,"url":"http://mashable.com/2012/01/21/top-10-tech-this-week-13/"} 
+4

這在v1.1中似乎已被棄用;並在今年5月7日退役v1,有沒有人有任何想法如何實現相同的功能? – WheretheresaWill 2013-04-04 14:07:28

+2

v1.1怎麼樣?有人知道如何去做? – Mikhail 2013-05-17 14:44:17

+0

截至2015年11月已[已​​棄用](https://blog.twitter.com/2015/hard-decisions-for-a-sustainable-platform)。 – Tim 2016-01-18 07:18:01

0

Twitter尚未發佈任何基於鏈接進行分析的開發者API(假設您只對t.co包裝所包含的鏈接感興趣)。你可以看看existing documentation,但它不是很好。

我不相信會有任何API來獲取鏈接到任意網址的推文數量。

相關問題