2nd Like Test

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 you to log into FACEBOOK to like...
2.  It does not keep the count - that is separate apparently...?

Comments

Popular posts from this blog

This is the like button instruction