Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8502263
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T01:26:09+00:00 2026-06-11T01:26:09+00:00

<!–Load scripts for Facebook scraper–> <div id=fb-root></div> <script> window.fbAsyncInit = function() { FB.init({ appId

  • 0
<!--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);
}());

What is meant by the use of the word “scraper” in the comment? This looks like an async function, and it’s http://connect.facebook.net/en_US/all.js

I am not sure what this al.js does. The result of that attached to the fb-root element.

What does this async function do and why is it called a “scraper”?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T01:26:11+00:00Added an answer on June 11, 2026 at 1:26 am

    You have asked in your question-

    I am not sure what this al.js does

    Actually all.js is the Facebook JavaScript SDK (Software Development Kit) a JavaScript file with all common options.

    What does this async function do

    The async function loads the SDK/all.js file asynchronously which means it doesn’t stop the page rendering during the loading of that file.

    The SDK inserts elements into fb-root which expect to be positioned relative to the body or relative to an element close to the top of the page.

    The function assigned to window.fbAsyncInit is run as soon as the SDK is loaded. Any code that you want to run after the SDK is loaded should be placed within this function and after the call to FB.init.

    Why is it called a scraper

    Web scraping is closely related to web indexing, which indexes
    information on the web using a bot and is a universal technique
    adopted by most search engines. In contrast, web scraping focuses more
    on the transformation of unstructured data on the web, typically in
    HTML format, into structured data that can be stored and analyzed in a
    central local database or spreadsheet. Web scraping is also related to
    web automation, which simulates human browsing using computer
    software. Uses of web scraping include online price comparison,
    weather data monitoring, website change detection, research, web
    mashup and web data integration. Read More…

    A little about faceBook __scraper__ from my understanding

    Actually, it can scrape data from the website (from your site, because you’ve used it/all.js) and can send that data to Facebook. Basically, one common example of this scraping is FaceBook Like button on web pages. When a user clicks on the faceBook Like button the scraper (all.js in this case) scrape some data from that site and sends those data to the faceBook and FaceBook posts those data to the user’s profile but this is only one example. FaceBook scraper allows users to “Connect with Facebook” for an immersive and customized blog post or video experience. Users’ FB info such as name, age, location, profile picture, interests, etc., are scraped and weaved into a branded story.

    You can read more here.

    On the web, some sites using __scraper__ also still data/content from good websites and posts into other websites by changing/modifying the original data. A few days ago I’ve found one of my SO answer on a different site and I really shocked. I’ve reported on meta about this, you may find it interesting.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've got the following login script.. <?php $name = $_POST[name]; $password = $_POST[password]; $query
My NSXMLParser breaks on this string: <title>AAA &#8211; BCDEFGQWERTYUIO</title> I parsed it in this
I need a function that will clean a strings' special characters. I do NOT
So to start, I have an array of XML files. These files need to
I would like to count the length of a string with PHP. The string
I'm struggling to position the second level of a dropdown nav menu and was
Have a webpage that will be viewed by mainly IE users, so CSS3 is
I'm trying to craft a Java regular expression to split strings of the general
i have a text file with the following data: Calculated Concentrations 30.55 73.48 298.25
I am reading some og tags from sites but I can't seem to decode

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.