Please Help trying to load facebook sdk which line do I insert at ?

please view my source code at

I want to insert SDK java script for Facebook logins ect.
which line do i insert this code....

  window.fbAsyncInit = function() {
    // init the FB JS SDK
      appId      : '432493466860441',                        // App ID from the app dashboard
      channelUrl : '//', // Channel file for x-domain comms
      status     : true,                                 // Check Facebook Login status
      xfbml      : true                                  // Look for social plugins on the page

    // Additional initialization code such as adding Event Listeners goes here

  // Load the SDK asynchronously
  (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'));

And let me know if you see any issues with my code on my site I am a newbie ,Thank You so much


  • I can't help but notice you don't appear to be using Enyo on your website? This forum is designed for help with the Enyo JavaScript framework; for help with the Facebook SDK I would recommend you check out their support forums.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!