How to Add a Facebook Like button to dynamic content or template page?

I’d like to add and embed a Facebook Like button to my Dynamic Content/ Template Page (like posts, photos etc…). I found an easy Tutorial for a Tweet Button, which was easy to follow. I went to the Facebook Like Button Configurator, but I’m lost and got questions. Do I have to manually enter the URL to like? Is there a way to pull the URL like a field from a collection? I’d like some advice, give me some wisdom.

You need to use the embed component and use the url slug (using the dynamic embed feature) for your page in the code so facebook knows which link to use when the user clicks the like button .

1 Like