开发者

"Share this on..." URLs

I have to create a bunch of these "Share this on" Technorati, Digg, Facebook, Reddit, del.icio.us, StumbleUpon, MySpace and so on. It is very easy to find online icons for this task, but it is a little more difficult to find what URLs I should link.

Is there any updated list of all these services? Of course I could copy them from other sites having this, 开发者_Python百科but I am not sure they are updated, and moreover maybe there is some GET parameter I want to set differently.

EDIT: I do not really care for services doing this for me, I just need the addresses. Among the reasons I do not like the external services is the fact that I can't customize the buttons.


Try AddThis - it is a free service that allows you to embed a ton of these things pretty easily.


You should not reinvent the wheel. There are plenty of tools that already do this, as well as keeping the information up-to-date for you.

http://sharethis.com/ is the first one I found on Google.


AddThis and ShareThis have +350 ways of sharing links to your site. If you don't want to depend on them, I'm afraid you do have to reinvent the wheel.

Check out the API:s of FaceBook and Twitter to start with.

Then continue with the rest, or surrender to AddThis.

On Facebook's developer pages (link above), it's very easy to find this example (which I assume is what you want, but for all social networks):

<html>
<head>
  <title>My Great Web page</title>
</head>
<body>
   <iframe src="http://www.facebook.com/plugins/like.php?href=YOUR_URL"
    scrolling="no" frameborder="0"
    style="border:none; width:450px; height:80px"><iframe>
</body>
</html>

Have you inspected the javascripts from AddThis and ShareThis yet?

Good luck!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜