1

On our website we've launched a feature where people can track how many clicks they get on a link they share on twitter.

The problem is that when I share the link on Twitter, I immediately get 5 clicks. Is there any way to prevent this from happening? (i.e. is there a specific api I can use to prevent repetitive requests from a website).

Quaternion
  • 10,380
  • 6
  • 51
  • 102
Arvind Sridharan
  • 3,885
  • 4
  • 29
  • 54
  • what you mean by repetitive requests from a website?? – Umesh Awasthi Dec 26 '11 at 15:57
  • I think what he wants to say is that as soon as the link (url to his website) is shared on twitter, 5 requests are made to that link (which he is perhaps, tracking) even though no one physically clicks on the link. – TJ- Dec 26 '11 at 16:00
  • @TJ- Than it is more of less thing how Twitter handling the sharing and more debugging needs to check why 5 requests :) – Umesh Awasthi Dec 26 '11 at 16:02

1 Answers1

0

Once a tweet is posted, there are few bots which go through the content of the tweet and crawl to the link . I guess when the bot hits your url u can check the header info like web-client etc to authenticate it . Hope that helps .

Kiran Ruth R
  • 902
  • 1
  • 11
  • 28