Free magento2 plugin to place share and like buttons on product pages. Social networks implemented:
Tested and working on magento 2.1.6 & Luma (other themes can and will vary).
- composer require thousandmonkeys/m2-socialbuttons-module
- php bin/magento setup:upgrade
- php bin/magento setup:di:compile
- php bin/magento setup:static-content:deploy
All of the buttons are disabled initially. Go to Stores/Configuration/ThousandMonkeys/Social Buttons to enable each button individually. If you want facebook stats create and enter an app id (optional).
If you wish to move the buttons override ThousandMonkeys/SocialButtons/view/frontend/layout/catalog_product_view.xml in your theme (particularly the move command). You may also need to override the rule in ThousandMonkeys/SocialButtons/view/frontend/web/css/social.css to get the facebook buttons aligned.
Should you decide that the network provided widgets are too slow there are local versions which you can enable. You do need to have loaded http://fontawesome.io/ into your theme (the module doesn't include it).