How to add a Facebook Like Button to your App

How to put a Facebook LIKE button in your app:

  1. Add an HTML section and enter the code below. 
  2. Change the  YOURFBPAGE element of the link to your Facebook ID 
  3. Choose how you want your button to look - there are 4 different options for the data-layout setting  in the example code below the data-layout is set as "button":






The Facebook Like button will display centered in the app except for the standard option which displays offset fro the center on the left. 

4. You can change the data-size from "small" to "large" 


This is the code to copy ad paste into the HTML section in your App:

<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); = id;
js.src = "//";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));

<div class="fb-like" data-href="" data-layout="button" data-action="like" data-size="small" data-show-faces="false" data-share="false" ></div></center>


Many thanks to the Awesome  Angela Navarette for doing all the hard work working out the code 

Have more questions? Submit a request


Please sign in to leave a comment.
Powered by Zendesk