Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Facebook Like Box for Your Xtgem Mobile Site
Hai everyone..

[Image: 11057178_955752887777717_1517751206_n.png]

Creating page on Facebook and getting followers was not very easy, because people will not like our page by getting in to Facebook through a link from our mobile site. But if we have a Facebook Like box embedded on our mobile site. Sure people will like it. 

Through this way you can increase your Facebook Like followers.

Add below code in between the <head> and </head> 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); = id;
 js.src = "//";
 fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>

Add the below code to where you want to show the Like Box.

<div class="fb-page" data-href=" Facebook Page Name Here" data-tabs="timeline" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true"><blockquote cite="" class="fb-xfbml-parse-ignore"><a href="">Facebook</a></blockquote></div>

Don't forget to change the "Your Facebook Page Name Here" to yours.

Hope you liked the tutorial..

Forum Jump:

Users browsing this thread: 1 Guest(s)