Add Facebook Share button to static HTML page

aumanets picture aumanets · Mar 29, 2011 · Viewed 125.7k times · Source

Is there any way to add a Facebook Share Button to a static HTML page? I've implemented a simple web site with no server side, just a bunch of html pages and I was abble to add a Like button because it is implemented with iFrame element. I have searched for a solution regarding the Share Button before posting here, but can't really find anything.

(Example of a share button can be seen on a youtube web site, on share section of each video.)

Any help is appreciated.

Answer

jpea picture jpea · Mar 29, 2011

You should be able to generate your own button code here: http://developers.facebook.com/docs/reference/plugins/like/