开发者

How would I go about implementing share buttons automatically?

开发者 https://www.devze.com 2023-03-10 21:34 出处:网络
There are many sites that auto-generates pages with like buttons, tweet buttons, and stumbleupon buttons. My question is, how?

There are many sites that auto-generates pages with like buttons, tweet buttons, and stumbleupon buttons. My question is, how? I'm kind of interested in the logic behind it, but if there's a code out there that makes it easy开发者_StackOverflow社区 to do, I'd gladly hear it. I do not plan for my site to be dynamic, but this automatic way of inserting share buttons can be a great lazy way to add share buttons to a page.


There is a great service called AddThis.

It also includes analytics, and works using JavaScript rather than PHP.

Search Google for tons more similar services.

0

精彩评论

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

关注公众号