开发者

How do I display a follow "us on twitter" and 'xxx on Facebook, become a fan' on my web page?

I would like to show the following links (I think they are called badges) on my homepage.

Assume my website is called 'abc'

  1. An image saying 'abc' on FaceBook, become a fan (and display a set of random pictures of some o开发者_如何学Pythonf my members)
  2. A 'follow us' on twitter link
  3. Ability to publish changes to my site (e.g. new news etc) to Twitter

An example of this can be seen on startups.com

I am using PHP for development - I would like to learn how to put the Facebook and Twitter links on my homepage.


  1. Facebook Fan Box is exactly what you're talking about

  2. Most people just link a promo image to their Twitter profile. Some free ones here that I've seen a couple sites use.

  3. do you want to automatically Tweet out new posts? Are you using any kind of CMS for which a plugin might be available? Otherwise there are a ton of PHP Twitter libraries out there you can hook into the publish action on your site (assuming you have a custom CMS of some kind). Or if you have an RSS feed setup, you can have Twitterfeed Tweet it out.

    If you just want visitors to be able to easily Tweet out your links, Tweetmeme (among lots of others, but it's the service I'm most familiar with) has a nice Retweet button.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜