Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 11-12-2012, 07:17 PM   PM User | #1
mrbean
New Coder

 
Join Date: Aug 2012
Posts: 37
Thanks: 5
Thanked 0 Times in 0 Posts
mrbean is an unknown quantity at this point
Facebook Javascript Sdk "channelurl"

Does someone know what they mean by "channelURL" in:
Code:
<div id="fb-root"></div>
<script>
  // Additional JS functions here
  window.fbAsyncInit = function() {
        FB.init({
          appId   : 'YOUR_APP_ID', // App ID
          channelUrl : '//WWW.YOUR_DOMAIN.COM/channel.html', // Channel File
          status         : true, // check login status
          cookie         : true, // enable cookies to allow the server to access the session
          xfbml   : true  // parse XFBML
        });


        // Additional init code here


  };


  // Load the SDK Asynchronously
  (function(d){
         var js, id = 'facebook-jssdk', ref = d.getElementsByTagName('script')[0];
         if (d.getElementById(id)) {return;}
         js = d.createElement('script'); js.id = id; js.async = true;
         js.src = "//connect.facebook.net/en_US/all.js";
         ref.parentNode.insertBefore(js, ref);
   }(document));
</script>
Does someone have also an example?
mrbean is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 03:25 PM.


Advertisement
Log in to turn off these ads.