1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

[HowTo]Graph Search Scrape for Slow Computers Or Connections

Discussion in 'FaceBook' started by auraita, Sep 17, 2014.

  1. auraita

    auraita Regular Member

    Joined:
    Dec 30, 2013
    Messages:
    283
    Likes Received:
    279
    Occupation:
    Life
    Location:
    C#
    Hi good people of BHW!

    I want to share a trick(or tip) that has helped me to scrape uids more fast from graph search. If you have a slow computer or slow internet connection...or if you have to use a program which has to use high memory when you re scraping,i think it will help you.

    Actually the trick is very simple. We need only uids,no ? so that means we don't have to download profile pictures.Well, let me explain it better.
    When you access to a web page,your browser downloads all data which is defined in source code. So it downloads images,java scripts, etc...

    But all these data occupies memory in RAM and when you scrapes uids from fb by using an addon, as expected, your browser downloads also profile pictures too and each picture occupies more memory than page's itself (well,actually it depends on size of pic.,bit... )

    After a while(for example;after listed 1000 pictures),if your computer is slow,it will start freezing and become slow or if your internet connection is slow, then it will take a long time to download each profile picture. (but it doesn't even need to download- the request to server is enough for slow connections.)
    Ok after all these explanations; the trick is to block pictures.! In preparing these howto,i was using firefox, but it works for all browsers.

    What you need :
    *An adblock addon for your browser

    How :
    1- Make sure that adblock is active.
    2- Do your search on Fb
    3- Right click on a profile picture & select "Adblock plus : block image " (**firefox**)

    1.png

    4- Select root domain (with subdomain) as shown in the picture below & add filter
    2.png
    That's all. Press F5 (or refresh the page) and you will see the search page without profile pictures.

    3.png
    Now it will load the page more fast than ever. your computer's resources will be used less

    auraita

    PS : When you're done, delete this filter from your adblock options!
    PS 2 : i'm not native english speaker as you see. it's my third language!
     
    • Thanks Thanks x 2
  2. thelenny

    thelenny Registered Member

    Joined:
    Jul 23, 2013
    Messages:
    87
    Likes Received:
    3
    Great stuff man! That's why I love this forum.
    Out of curiosity what do you use Facebook UIDs for now that Facebook banned them?
     
  3. Repulsor

    Repulsor Power Member

    Joined:
    Jun 11, 2013
    Messages:
    707
    Likes Received:
    267
    Location:
    PHP Scripting ;)
    Its been a while I worked with their API and stuff. Strange to know that the UIDs are banned. When did they do that? and I dont see any good reason to do that. Oh!
     
  4. auraita

    auraita Regular Member

    Joined:
    Dec 30, 2013
    Messages:
    283
    Likes Received:
    279
    Occupation:
    Life
    Location:
    C#
    fb banned some ad accounts.for example;many people tried to sell teespring tshorts on fb with scraped uids (exmpl : calm down and let xyz handle it) but then fb discovered that in custom audiences;the names were same or the uids were coming from same page/group or something in common
     
  5. thelenny

    thelenny Registered Member

    Joined:
    Jul 23, 2013
    Messages:
    87
    Likes Received:
    3
    Its always been against FB TOS to scrape UIDS, now they have enforced the law. In order to use UIDs in your ads now, you have to include your Facebook app ID and the people whose UIDs you are uploading have to have used your app
     
  6. thelenny

    thelenny Registered Member

    Joined:
    Jul 23, 2013
    Messages:
    87
    Likes Received:
    3
    Scraping UIDs has always been against Facebook TOS not just names