Javascript connect.facebook.net/en_US/all.js 有什么作用
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/11521038/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
What does connect.facebook.net/en_US/all.js do
提问by LucasRolff
I'm wondering, what features do the all.js from facebook add to the like button? - I'm trying to implement it, and found a really nice way, even without loading the all.js file, the like works just fine, it will get registered and anything..
我想知道,来自 facebook 的 all.js 为喜欢按钮添加了哪些功能?- 我正在尝试实现它,并找到了一个非常好的方法,即使没有加载 all.js 文件,类似的工作也很好,它会被注册和任何东西..
But is there something that I will miss? If I just have a simple like button on my page?
但是有什么我会想念的吗?如果我的页面上只有一个简单的赞按钮?
采纳答案by Eduscho
You don't need all.js if you only want to use the like function.
如果您只想使用 like 函数,则不需要 all.js。
The like function is so popular that there are standalone plugins, as you are using.
like 功能非常流行,以至于您正在使用独立插件。
With all.js, you can do a lot more. For example posting stories on other peoples wall or accessing peoples personal data if they agree.
使用 all.js,您可以做更多事情。例如,在其他人的墙上发布故事或在他们同意的情况下访问他们的个人数据。
回答by NoBugs
At the moment, nothing at all. The site is down or that script may have been moved.
此刻,什么都没有。该站点已关闭或该脚本可能已被移动。