Adding Social Widget by Magento 2 default is a great way to lead your brand more close to every audience, especially as Facebook Social Plugin because the coverage of Facebook becomes larger and larger as well as the number of Facebookers increase dramatically. Thus, today we will help you know how to add a Facebook Like Button to your store without Magento extension.
In case you want to experience more benefits when integrating social media, Free Magento 2 Social Login integration is a helpful suggestion for you.
URL to Likefield.
Layoutfor the Like button on your site. If need, enable to allow showing the profile picture when 2 or more likes.
Action Typeto Like or Recommended
Content > Elements > Blocks.
Add New Widget,
Block Titlefor the button like Facebook Like Button.
Identifierwith the lower characters and underscores instead of spaces (facebook_like_button)
Store View(s)if you have many stores.
Save Blockto complete.
Content > Elements > Widgets.
Add New Widgetbutton.
Widget Titlefor the internal reference.
Assign to Store Viewfield or to any store view you want to apply the block.
Sort Orderif many blocks are placed at the same container. The block is at the top if the inserted value is zero.
Layout Updateto set the layout.
Widget Optionstab on the left panel.
Select Blockto choose the block from the list you want to place.
Go to your storefront to check the position of the block. If you want to the block, back to the widget settings and try a different page or block reference.
Ref: Magento 2 User Guide
It comes to the end of tutorial: How to Add Social Widget without extension: Facebook Social Plugins in Magento 2.