Facebook Like and Share buttons

Last updated: March 25, 2021 Written by: Avatar Teresa
share
Table of contents
share
Table of contents

This guide will show you how to add Facebook Like and Share buttons to your landing page.

Get the code

1. In your browser, copy the URL of the landing page on which you want to place the Like and Share buttons.

2. Go to the Facebook button configurator, paste the link into URL to Like.

url to like

3. Customize the buttons (1). Each change will be visible on the sample buttons. Click on Get Code (2).

like button on a landing page

4. Copy the first part of the code without the <div> </div> tags. Do not close the configurator.

Install the code in Landingi

1. Log in to your account on the Landingi platform and navigate to the Dashboard of your landing page.

go to dashboard

2. Go to Javascript Code tab. If you do not have any codes, click on Add script.

add script

You can also access the Javascript codes section directly from the editor of your landing page.

javascript code editor

3. Type in a Name. Paste the code in Content field, select Body bottom and Main page. Click on Save.

like button javascript

4. Go back to the configurator and copy the second part of the code.

5. On the left side of the editor, find the HTML widget, then drag and drop it into the active area of your landing page.

widget html

6. Double-click the widget or click on Edit and paste the second part of the code into the Add custom HTML field. Click on Save and close.

html like button

7. Once you add the code, publish the landing page and check whether the buttons display correctly.

like share on landing page

share

Was this manual helpful?