Add the Facebook 'Like' button to Your XSite
Add the Facebook Like button to your XSite.
Document 7025 ¦ Last updated: 02/15/2017 KMG
Facebook's "Like button" is a great way to encourage people to find and interact with you on Facebook directly from your XSite. Using the steps below, add the Facebook "Like Button" to your XSite.
If you just want to add a link to your Facebook profile, you can enable that in the Dynamic Content. Click here for those instructions.
<iframe src="https://www.facebook.com/plugins/like.php?href=YOUR_FACEBOOK_URL&width=450&layout=standard&action=like&size=small&show_faces=true&share=true&height=80&appId width="450" height="80" style="border:none;overflow:hidden" scrolling="no" frameborder="0" allowTransparency="true"></iframe>
In the code you insert into your page, replace YOUR_FACEBOOK_URL with your Facebook page's URL. For example, a la mode's Facebook address is http://facebook.com/alamodeinc. To insert a like button for our page, we'd replace YOUR_FACEBOOK_URL with http://facebook.com/alamodeinc.
For additional steps on creating or adding the HTML code for your like button, click here.
You can place the HTML code anywhere on the page, including in the Dynamic Content, but adding it to the bottom of your page is typically the easiest.
When you're creating a new blog post, you can edit the HTML of your post's content and place the same code you used in the steps above to make the Facebook Like button visible to your blog readers.