I am writing a script in PHP to get data from the twitter API, I want to be able to access the number of ‘tweets’ for a given URL, in the PHP Facebook API this is easily possible with a single ‘FQL Query’, however, within Twitter I can only find the following :
http://urls.api.twitter.com/1/urls/count.json?url=http://www.bbc.co.uk
From a little bit of research it would seem this is a ‘private’ API and only available to the ‘tweet button’ and not custom scripts. Is there an alternative way of achieving this which is considered OK?
It works and does what you want, doesn’t it?
I think if twitter would does not like you to use it, it would stop you from doing so. But that is just my opinion 😉