问题
I'm implementing the facebook login in my website wich 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?
Thanks in advance!
回答1:
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
来源:https://stackoverflow.com/questions/15821196/channel-url-facebook