This seems like it should be simple enough, but I’ve gotten burned by messing up my FB like buttons in the past. So I just want to get some verification here before I dive in and lose any likes.
I have a webpage. I have a facebook page for that webpage already with a good amount of likes. I want to add a Like button to my Web page that upon clicking, likes my Facebook page.
Do I just put in my http://www.facebook.com/myfacebookpage in the “URL to Like” of the generator and that will like my FB Page?
I know it’s simple – but just want a sanity check! I’ve lost a good amount of likes by improperly implementing this in the past. Thanks!
That’s exactly what should do.
If you use the iframe version it’s all you have to do.
If you use the XFBML version you should also initialize the javascript SDK: https://developers.facebook.com/docs/reference/javascript/
Something like this: