From my website I have some JS that posts a tweet to twitter to share a link.
On the page that the tweet links to is some client js that seems to be getting called upto 7 or 8 times each time I tweet a link out.
How can I stop this? I only want my js to run if someone actually clicks that link.
When I look in my IIS logs I can see entries for twitterbots. I’ve created a robots.txt on the root of my site with;
User-agent: *
Disallow: /
But each time I share a link from my site, I still get many hits from Twitter.
This doesn’t happen for Facebook or Google Plus which I also have the ability on my site to share a link to another page.
Can somebody please help me try work out what’s going on and what if anything I can do?
Thanks.
C