(Custom) anonymous Facebook and Twitter Link
If you get a FaceBook or Twitter button from their web sites which you place on your site, your visitors will be followed as well. As if your visitors were visiting their website.
Every time your visiter sees the button on a site, a custom script has already loaded from Twitter or FaceBook. The big social media companies gather information of your visitors each time the button is loaded. This could be harmful to your visitor's privacy.
I and a few of my clients care about that, but still want those buttons.
That got me thinking. After some research I put code together that gives you the flexibility with a link. Or any other way you can think of using it.
The code I've used on my New Year Greeting page.
<a
target="_blank"
href="https://twitter.com/home?status=I wish you an inspiring Christmas and an innovative new year! - http://2012.mellewynia.nl/ via @MelleWynia http://2012.mellewynia.nl/css/images/bg__body.jpg"
onclick="window.open('https://twitter.com/home?status=your tweet', 'Tweet this Wish' ,'width=400&height=250'); return false"
>
Tweet this Wish!
</a>
<a
target="_blank"
href="http://www.facebook.com/share.php?u=http://2012.mellewynia.nl/"
onclick="window.open('http://www.facebook.com/share.php?u=http://yourlink.nl//', 'Share this Wish on FaceBook','width=200&height=50'); return false"
>
Share this Wish on FaceBook
</a>