I have icons (custom branded facebook, twitter, pinterest etc.) on a website and I would like it to be easy for visitors to talk about blogposts on these various social media. 

To do so, I have created a server-side function that outputs links that look like this: 

```
<a target="_blank" href=http://rest.sharethis.com/share/sharer.php?destination=facebook&amp;url=http%3A%2F%2Fsite.mydevelopmentserver.com&amp;title=postname&amp;pub_key=123456&amp;access_key=123456"/>FACEBOOK LINK</a>

```

with equivalent links for the other social media links. 

I do not load any sharethis scripts or interact with the sharethis api in any other way on my site, and this method seems to be working fine (the jury is still out on analytics)

My questions are: 

a. Is there anything wrong with using sharethis in this way? 

b.Is there a better way to do this that does not require me to have my access key visible in my links?