Difference between revisions of "Widget:FBRecommend"
Jump to navigation
Jump to search
(Created page with "<noinclude>This allows a Facebook 'Like' button to be embedded into a wiki page. ===Usage=== To insert this widget, use the following code: <nowiki>{{#widget:</nowiki>{{PAGE...") |
|||
Line 9: | Line 9: | ||
if (d.getElementById(id)) return; | if (d.getElementById(id)) return; | ||
js = d.createElement(s); js.id = id; | js = d.createElement(s); js.id = id; | ||
− | js.src = "//connect.facebook.net/en_GB/all.js#xfbml=1"; | + | js.src = "https://connect.facebook.net/en_GB/all.js#xfbml=1"; |
fjs.parentNode.insertBefore(js, fjs); | fjs.parentNode.insertBefore(js, fjs); | ||
}(document, 'script', 'facebook-jssdk'));</script><div class="fb-like" data-send="false" data-width="450" data-show-faces="false" data-action="recommend" data-font="arial"></div></includeonly> | }(document, 'script', 'facebook-jssdk'));</script><div class="fb-like" data-send="false" data-width="450" data-show-faces="false" data-action="recommend" data-font="arial"></div></includeonly> |
Latest revision as of 19:57, 26 May 2015
This allows a Facebook 'Like' button to be embedded into a wiki page.
Usage
To insert this widget, use the following code:
{{#widget:FBRecommend}}