Made with ❤️ by Baibhav Anand. (@spongebhav)
Note: FbUID only works with Public Facebook Accounts.
As a developer, security researcher, bug bounty hunter, etc we often need the Facebook UserID of a user. For ex: userID for username: spongebhav is: 100007536576842.
However, getting Facebook userID for a user can sometimes be time-consuming and a boring task.
To fix this problem, I present you guys with this tool: FbUID.
This tool is written completely in bash and can be used to extract userID for a public Facebook profiles if the username is known. You can specify a username or a text file containing a list of usernames to extract the userIDs from.
- Download OR Clone the repository in your machine:
git clone https://github.com/baibhavanand/fbuid
- Switch to fbuid directory:
cd fbuid
- Give permissions to install.sh file:
sudo chmod 555 install.sh
- Run install.sh:
sudo ./install.sh --install
- Download OR Clone the repository in your machine:
git clone https://github.com/baibhavanand/fbuid
- Switch to fbuid directory:
cd fbuid
- Copy fbuid to /usr/local/bin
sudo cp fbuid /usr/local/bin/fbuid
Arguments | Description |
---|---|
(no arguments) | Fbuid will launch and will ask for username input |
-u | Username can be passed through -u argument |
-f | File path containing usernames can be specified via -f argument |
fbuid
Simply entering fbuid will prompt you to enter username and then show you the UserID for that username.
fbuid -u (username)
Username can also be passed via -u argument.
fbuid -f (file path)
Users can also pass a file with list of usernames using -f argument.
FbUID is licensed under the MIT license. Take a look at the LICENSE for more information.
Currently there is an issue with FbUID (Check Issues Tab), feel free to create a Pull Request with modifications to the original code if you can fix this issue. Please test your code with atleast 100 usernames before making a PR.
Pull Requests for any kind of development in FbUID are welcome.
While making a PR, make sure to add yourself in thanks.md list.
I would like to thank the following people for contributing to this project.
This project is maintained by Baibhav Anand Jha | Twitter: @spongebhav