<!--Load scripts for Facebook scraper-->
<div id="fb-root"></div>
<script>
window.fbAsyncInit = function() {
FB.init({
appId : '154617751273927',
status : true, // check login status
cookie : true, // enable cookies to allow the server to access the session
xfbml : true // parse XFBML
});
};
(function() {
var e = document.createElement('script');
e.src = document.location.protocol + '//connect.facebook.net/en_US/all.js';
e.async = true;
document.getElementById('fb-root').appendChild(e);
}());
在评论中使用“scraper”这个词是什么意思?这看起来像一个异步功能,它是http://connect.facebook.net/en_US/all.js以下JavaScript代码涉及Facebook
我不知道这al.js做什么。附加到fb-root元素的结果。
这是什么异步函数做,为什么它被称为“刮刀”?
那不是正好刮权的定义是什么? – naveen