Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Facebook Like Button
Hello,
I'd like to put fb like button at all pages before content with pocket plugin. But I don't know where to put the Javascript SDK.
- Include the JavaScript SDK on your page once, ideally right after the opening tag.
<div id="fb-root"></div> <script>(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/en_GB/all.js#xfbml=1"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</script>
- Place the code for your plugin wherever you want the plugin to appear on your page.
<div class="fb-like" data-href="http://forum.caricyber.com" data-send="true" data-width="450" data-show-faces="true"></div>
Help me! Thank you.
0
Answers
ok i got it...just use this code on my pocket body
<script>var flike = { url : "http://forum.caricyber.com", buttonType : "standard", width : "450", height : "57" }</script><script src="http://orkut-share.googlecode.com/svn/trunk/flike.js"> </script>
Why do that? Theres already a plugin.
http://vanillaforums.org/addon/liked-plugin
There was an error rendering this rich post.
@422 the plugin just on the discussion post rite? I'm using share this plugin for discussion post
i mean the like button just for my main url
Ahhh.
There was an error rendering this rich post.