Reputation: 1118
I'm implementing the Facebook login in my website which is in the form of mysite.anotherdomain.org. I did all explained in the Documentation of the JavaScript SDK but, since I have some problems, I'm wondering if the error comes from the channel URL.
What should I exactly write for the channel file?
Upvotes: 2
Views: 11460
Reputation: 5841
The channel file basically fixes certain cross-domain issues for certain browsers. The following are the three that Facebook has identified:
All you need inside the file is
<script src="//connect.facebook.net/en_US/all.js"></script>
You can find out more from https://developers.facebook.com/docs/reference/javascript/#channel
Upvotes: 6