Adding a "Like us on Facebook" button on posts

Hi there!
I am trying to add a button on my posts that allows people to like the facebook page that is associated with my site.
It seems like an easy thing to do, but I can’t figure out how to work the Like Button on the Web tool by Facebook.
Thank you.

Do you have the code supplied by Facebook? It’ll be easier to help if you share that!

Hi!

This is to go after the opening body tag. Does this mean I have to embed a unique version of this on each post?

<div id="fb-root"></div>
<script async defer crossorigin="anonymous" src="https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v16.0" nonce="k8tDznNN"></script>

And this is the code that shows the buttons.

<div class="fb-like" data-href="https://briefblink.com" data-width="" data-layout="" data-action="" data-size="" data-share="true"></div>

I am just unsure where the js should go.
Thanks.

Thanks for sharing!

The first bit should be added via SettingsCode InjectionSite footer.

The second bit can be added via an HTML card wherever you want it to show up in your post.

2 Likes

This was clear. Thanks!

1 Like