Facebook Like Button Example
Go to the Facebook Like button plugin page and follow the instructions to configure your Like button. Once configured, click the Get Code button to generate the needed HTML/JavaScript.
Example HTML
The below HTML demonstrates how to embed a Facebook Like button.
<!DOCTYPE html> <html> <head> <style> body { margin: 0; overflow: hidden; } </style> </head> <body> <div id="fb-root"></div> <script> (function(d, s, id) { // Specify your app ID var APP_ID = "YOUR_APP_ID", js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/da_DK/all.js#xfbml=1&appId=" + APP_ID; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk')); </script> <div class="fb-like" data-href="http://www.zmags.com"; data-send="false" data-width="450" data-show-faces="true" data-font="arial"> </div> </body> </html>
Enriched
Create an interactive iframe widget and enter the URL for your Facebook Like button, e.g.: