Web Applications Stack Exchange is a question and answer site for power users of web applications. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Facebook recently launched the new embeddable Like button. I previously setup a Facebook Fan Page for my site. Can I link the Like button to my fan page?

The fan page is important to me because I'm syndicating content to it. However, I like the Like application because it's dynamic and shows how many people like something. Is there a way to combine them?

Edit - to clarify, I don't want to just add the Like button, I'd like it to be linked to the existing fan page. E.g., users that already liked my existing Fan page should already (automatically) appear as liking the new Like widget.

share|improve this question
up vote 6 down vote accepted

you have to use a "like box" instead of a "like button": http://developers.facebook.com/docs/reference/plugins/like-box

to sort out your 'Facebook Page ID' just log on to your fan page and check the url. the number at the end of the url is your page id.

share|improve this answer
Thanks! I embedded it here: draw3cards.com – ripper234 Jul 14 '10 at 18:58

I've stunmbled upon this question using Google and the other answers are not correct anymore. See this blogpost from Facebook Developers: https://developers.facebook.com/blog/post/407/

Which show this is actually simply possible from 9 september 2010 by using the URL of the facebook page as the URL to be liked by the LIKE button.

share|improve this answer

Could you clarify what it is you actually want to do? As the link you provided seems to answer your own question.

share|improve this answer
This should be a comment instead of an answer. The link does not answer my question - it doesn't say anything about linking a Like and an existing Fan page. – ripper234 Jul 10 '10 at 7:15

The Like button can be hacked to act like a like box. Generate both using the facebook tools to do so then copy the href code of the like box into the url code of the like button.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.