My Facepile plugin code
3 posters
Page 1 of 1
My Facepile plugin code
Just wanna know how to set this plugin code on my forum, hear are list of code....
HTML5
1) Include the JavaScript SDK on your page once, ideally right after the opening <body> tag.
2) Place the code for your plugin wherever you want the plugin to appear on your page.
IFRAME
Place the code for your plugin wherever you want the plugin to appear on your page.
URL
Place the code for your plugin wherever you want the plugin to appear on your page.
this is what i'm after
The Facepile plugin displays the Facebook profile pictures of users who have liked your page or have signed up for your site.
HTML5
1) Include the JavaScript SDK on your page once, ideally right after the opening <body> tag.
- Code:
<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_US/all.js#xfbml=1";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
2) Place the code for your plugin wherever you want the plugin to appear on your page.
- Code:
<div class="fb-facepile" data-href="https://www.facebook.com/KaneKnights" data-action="https://www.facebook.com/KaneKnights" data-max-rows="7" data-width="300"></div>
IFRAME
Place the code for your plugin wherever you want the plugin to appear on your page.
- Code:
<iframe src="//www.facebook.com/plugins/facepile.php?href=https%3A%2F%2Fwww.facebook.com%2FKaneKnights&action=https%3A%2F%2Fwww.facebook.com%2FKaneKnights&size=medium&max_rows=7&show_count=true&width=300&colorscheme=light" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:300px;" allowTransparency="true"></iframe>
URL
Place the code for your plugin wherever you want the plugin to appear on your page.
- Code:
http://www.facebook.com/plugins/facepile.php?href=https%3A%2F%2Fwww.facebook.com%2FKaneKnights&action=https%3A%2F%2Fwww.facebook.com%2FKaneKnights&size=medium&max_rows=7&show_count=true&width=300&colorscheme=light
this is what i'm after
The Facepile plugin displays the Facebook profile pictures of users who have liked your page or have signed up for your site.
Re: My Facepile plugin code
- Code:
(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_US/all.js#xfbml=1";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
Guest- Guest
Re: My Facepile plugin code
cloner wrote:Place in javascript pages.
- Code:
(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_US/all.js#xfbml=1";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
once i paste the code in my javascript what do i do next
Re: My Facepile plugin code
where do you want the face pile to appear on your page.
you can have it in a widget, homepage Generalities, in your announcement, portal, possibly even in a forums description or forums main description. you will be limited where it can be placed by using phpbb3 but still have a few options, and on html pages as well.
so let us know where you want it so we can tell you where the second part of the code will have to be placed. Like said above the javascript part of the code can go on javascript page management.
If it is a html page you want it on then that would have to be set up a little different.
But best way is to go here and generate the code for your forum first.
Be sure to use the url of the page it will appear on.
Face pile facebook plugin generator
you can have it in a widget, homepage Generalities, in your announcement, portal, possibly even in a forums description or forums main description. you will be limited where it can be placed by using phpbb3 but still have a few options, and on html pages as well.
so let us know where you want it so we can tell you where the second part of the code will have to be placed. Like said above the javascript part of the code can go on javascript page management.
If it is a html page you want it on then that would have to be set up a little different.
But best way is to go here and generate the code for your forum first.
Be sure to use the url of the page it will appear on.
Face pile facebook plugin generator
kirk- Forumaster
- Posts : 11037
Reputation : 653
Language : English,Vulcan,Klingon, Romulan,& Gorn
Similar topics
» Facebook plugin avatar
» Plugin?
» Plugin system
» the required plugin is not installed
» The Facebook Social Plugin that is Squared
» Plugin?
» Plugin system
» the required plugin is not installed
» The Facebook Social Plugin that is Squared
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum