Here is the code... it can be pasted directly into a specific blog using HTML view... <iframe src="https://www.facebook.com/plugins/like.php?href=https%3A%2F%2Fcornwallhatest.blogspot.com%2F&width=174&layout=button_count&action=like&size=large&share=true&height=46&appId" width="174" height="46" style="border:none;overflow:hidden" scrolling="no" frameborder="0" allowfullscreen="true" allow="autoplay; clipboard-write; encrypted-media; picture-in-picture; web-share"></iframe> <iframe src = "https://www.facebook.com/plugins/like.php?href=https%3A%2F%2Fcornwallhatest.blogspot.com%2F&width=174&layout=button_count&action=like&size=large&share=true&height=46&appId" width = "174" height = "46" style = " border : none ; overflow : hidden " scrolling = "no" frameborder = "0" allowfu...
This uses the JavaScript SDK (rather than iFrame), with two segments... Found out this does not work well with Firefox, it blocks the scripts. Does work with Edge. Step 1: Include the JavaScript SDK on your page once, ideally right after the opening body tag. <div id = "fb-root" ></div> <script async defer crossorigin = "anonymous" src = "https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v15.0" nonce = "hzkw4EvY" ></script> Step 2: Place this code wherever you want the plugin to appear on your page. <div class = "fb-like" data-href = "https://cornwallhatest.blogspot.com/" data-width = "" data-layout = "button_count" data-action = "like" data-size = "large" data-share = "true" ></div> Like the iFrame, some problems: 1. It forces you to confirm the like, which is irritating. In CHROME it actually requires ...
Comments
Post a Comment