Jump to content

Facebook Javascript Sdk "channelurl"


mrbean

Recommended Posts

Does someone know what they mean by "channelURL" in:

<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?

Link to comment
https://forums.phpfreaks.com/topic/270600-facebook-javascript-sdk-channelurl/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.