Mga Pahina

Biyernes, Disyembre 17, 2010

Facebook Integration

I have use facebook plugins, and all are very functional in a website.
But its difficult to setup the configuration of the facebook. It Needs facebook account then go to account setting then find the application to create an amazing connecting to your website from facebook. Here's a code:

                             Trying this Code:

inserting meta  "<meta property="fb:app_id" content="143624085682217" />" the content id must be an application id to connect to your website.

Then insert DIV which in the body:

<div id="fb-root"></div><script src="http://connect.facebook.net/en_US/all.js#appId=173169099366425&amp;xfbml=1"></script><fb:comments width="425">

</fb:comments>
    <div id="fb-root"></div>
    <script>
      window.fbAsyncInit = function() {
        FB.init({appId: '173169099366425', status: true, cookie: true,
                 xfbml: true});
      };
      (function() {
        var e = document.createElement('script');
        e.type = 'text/javascript';
        e.src = document.location.protocol +
          '//connect.facebook.net/ms_MY/all.js';
        e.async = true;
        document.getElementById('fb-root').appendChild(e);
      }());
    </script>


then its ok ..

Check out there plugins in facebook ....
Facebook Plugins 


For more info. Contact us: vashalowen@gmail.com

Walang komento:

Mag-post ng isang Komento