• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Facebook Plug In for Website

Cris2387

Member
Joined
Dec 30, 2013
Messages
177
Reaction score
9
I want to add my facebook webpage to my tibia website, and i can't add it :(, facebook tells me to add this to layout
PHP:
<div class="fb-page" data-href="https://www.facebook.com/facebook" data-width="190" data-height="590" data-hide-cover="false" data-show-facepile="true" data-show-posts="true"><div class="fb-xfbml-parse-ignore"><blockquote cite="https://www.facebook.com/facebook"><a href="https://www.facebook.com/facebook">Facebook</a></blockquote></div></div>
and this
PHP:
<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/sdk.js#xfbml=1&version=v2.3";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
i added the first script to my layout.php and when i go to my website it just shows blue letters that you can barely see and if you click on them it does takes you to the facebook website, but i want it to show a box like in heroserv.com or something like that now, i know that im supposed to add the second code somewhere the one that says fb-root but i just dont know where to put it pls help
 
Back
Top