What is WWW.YOUR_DOMAIN.COM/channel.html in facebook login? -


i trying integrate facebook login website. following link:

https://developers.facebook.com/docs/facebook-login/getting-started-web/

there, says " replace your_app_id app id noted in step 1 above , www.your_domain.com own domain. " following piece of code:

 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 allow server access session   xfbml      : true  // parse xfbml }); 

so question is, domain here? how can find out domain is? actually, mean? can help?

thanks

it simple. should put or make file name channel.html server. contents of channel.html file can single line:

<script src="//connect.facebook.net/en_us/all.js"></script> 

after should replace '//www.your_domain.com/channel.html' full path file on server. here // meant protocol instead http:// , https://


Comments