The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

My Facepile plugin code

3 posters

Go down

My Facepile plugin code Empty My Facepile plugin code

Post by iyaaz March 21st 2013, 7:53 pm

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.
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&amp;action=https%3A%2F%2Fwww.facebook.com%2FKaneKnights&amp;size=medium&amp;max_rows=7&amp;show_count=true&amp;width=300&amp;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

My Facepile plugin code Facepile
The Facepile plugin displays the Facebook profile pictures of users who have liked your page or have signed up for your site.
iyaaz
iyaaz
Forumember

Male Posts : 350
Reputation : 8
Language : English
Location : London

http://iyaaz.forumotion.co.uk/

Back to top Go down

My Facepile plugin code Empty Re: My Facepile plugin code

Post by iyaaz March 24th 2013, 12:58 pm

bump :/
iyaaz
iyaaz
Forumember

Male Posts : 350
Reputation : 8
Language : English
Location : London

http://iyaaz.forumotion.co.uk/

Back to top Go down

My Facepile plugin code Empty Re: My Facepile plugin code

Post by runawayhorses March 24th 2013, 2:27 pm

You can put those codes in an HTML page or the homepage message.
avatar
runawayhorses
Hyperactive

Male Posts : 2537
Reputation : 166
Language : English
Location : United States

http://runawayhorses.alldiscussion.net/

Back to top Go down

My Facepile plugin code Empty Re: My Facepile plugin code

Post by iyaaz March 24th 2013, 5:08 pm

i don't understand Please can you explain more how to set it up...
iyaaz
iyaaz
Forumember

Male Posts : 350
Reputation : 8
Language : English
Location : London

http://iyaaz.forumotion.co.uk/

Back to top Go down

My Facepile plugin code Empty Re: My Facepile plugin code

Post by Guest March 24th 2013, 5:45 pm

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'));
Place in javascript pages.
avatar
Guest
Guest


Back to top Go down

My Facepile plugin code Empty Re: My Facepile plugin code

Post by iyaaz March 24th 2013, 5:48 pm

cloner wrote:
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'));
Place in javascript pages.


once i paste the code in my javascript what do i do next
iyaaz
iyaaz
Forumember

Male Posts : 350
Reputation : 8
Language : English
Location : London

http://iyaaz.forumotion.co.uk/

Back to top Go down

My Facepile plugin code Empty Re: My Facepile plugin code

Post by kirk March 29th 2013, 2:06 pm

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
kirk
kirk
Forumaster

Male Posts : 11037
Reputation : 653
Language : English,Vulcan,Klingon, Romulan,& Gorn

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum