Kali Linux

Fb_Friend_List_Scraper : OSINT Tool To Scrape Names And Usernames From Large Friend Lists

Fb_Friend_List_Scraper is a OSINT tool to scrape names and usernames from large friend lists on Facebook, without being rate limited.

Getting started

  • Install using pip: python -m pip install fb-friend-list-scraper
  • Script is now installed as fbfriendlistscraper
  • Run with -h or --help to show usage information.

Usage

usage: fbfriendlistscraper [-h] -e EMAIL [-p PASSWORD] -u USERNAME [-o OUTFILE] [-w] [-q] [-x] [-s SLEEPMULTIPLIER] [-i PROXY] [-c CMD]
Tool to scrape names and usernames from large friend lists on Facebook, without being rate limited
options:
-h, –help show this help message and exit
-e EMAIL, –email EMAIL
Email address or phone number to login with.
-p PASSWORD, –password PASSWORD
Password to login with. If not supplied you will be prompted. You really shouldn’t use this for security reasons.
-u USERNAME, –username USERNAME
Username of the user to scrape.
-o OUTFILE, –outfile OUTFILE
Path of the output file. (Default: ./scraped_friends.txt)
-w, –headless Run webdriver in headless mode.
-q, –quiet Do not print scraped users to screen.
-x, –onlyusernames Only the usernames/IDs will be written to the output file.
-s SLEEPMULTIPLIER, –sleepmultiplier SLEEPMULTIPLIER
Multiply sleep time between each page scrape by n. Useful when being easily rate-limited.
-i PROXY, –proxy PROXY
Proxy server to use for connecting. Username/password can be supplied like: socks5://user:pass@host:port
-c CMD, –cmd CMD Shell command to run after each page scrape. Useful for changing proxy/VPN exit.
examples:
fbfriendlistscraper -e your@email.com -p YourPassword123 -u someusername.123 -o my_file.txt
fbfriendlistscraper –email your@email.com –username another.user –headless -s 2 -x
fbfriendlistscraper -e your@email.com -u username.johnson -w –proxy socks5://127.0.0.1:9050
fbfriendlistscraper -e your@email.com -u xxuserxx –headless –cmd “mullvad relay set provider Quadranet”
fbfriendlistscraper -e your@email.com -u markzuckerburger -w -o ./test.txt –cmd “killall -HUP tor”

R K

Recent Posts

rmmod Command in Linux: Remove Kernel Modules and Blacklisting

The rmmod command in Linux removes a loaded module from the running kernel. Because the kernel has…

19 hours ago

free Command in Linux: Check Memory Usage and Interpret Output

The free command in Linux gives you a quick summary of RAM and swap usage. It reads…

19 hours ago

diff Command in Linux: Compare Files and Create Patches

The diff command in Linux compares two text files line by line and shows the lines that…

19 hours ago

Flush DNS Cache on Windows, Linux, and macOS: Quick Commands

DNS cache is a temporary database your OS and browser build as you browse. Each time you visit a website, the domain-to-IP mapping is saved locally, cutting out the round trip to a remote DNS server on repeat visits. Stale entries are the most common reason to flush the DNS cache: a server moves to a new IP, but your OS or browser still routes to the old address. This guide covers how to clear the DNS cache on Windows, Linux, and macOS, and how to flush the separate cache stored inside Chrome and Firefox. Flush DNS Cache on Windows The command is the same on Windows 10, Windows 11, and earlier supported releases. Open Command Prompt with administrator privileges. Type cmd in the Windows search bar, right-click Command Prompt, and select Run as…

19 hours ago

Change User Password in Ubuntu: Command Line and GNOME GUI

Using a strong, unique password for every account is one of the most effective security…

2 days ago

Enable and Disable the Root Account in Ubuntu: Full Guide

Ubuntu locks the root account by default. New users often wonder what the root password…

2 days ago