Add like button to Facebook page - what's the appid?

Dennis G picture Dennis G · Nov 28, 2011 · Viewed 28k times · Source

Say I have the website http://www.example.org and the corresponding Facebook page at http://www.facebook.com/example.

When I now try to generate a Like-Box (or a Like Button) an AppId is required. Creating an Application via Facebook Developer seems not like what I want - all I want is the button?

How do I create that like button / like-box for my website example.org (what are the simplest steps)?

Answer

Anonymous picture Anonymous · Nov 28, 2011

First of all, the simplest step is here: http://developers.facebook.com/docs/reference/plugins/like/

Further, the facebook page facebook.com/example and example.org are completely indipendent (like-button-wise). So if you want to have a like button for your facebook-page, you can use the link to facebook or even generate a like-box!

Other than that, you can initialize the fb api with an optional fb-app and its id. You probably found out already where to do that (here). With that you have access to insights, which are statistics for your like button. There are also further uses for it when playing around with the FB API or plugins like the comment-box. But you don't have to have an app-id to run the like button on your page!