How to Install Osif on Termux
How to install osif on termux is very easy, just clone the script file from github, these tools can be used. But before that, prepare the termux application that has been installed with a supporting package.
Here’s how to install osif tools in termux
1. Install supporting packages
Just open the termux application and enter the following command to install all the required packages:
apt update && apt upgrade
pkg install git
pkg install python2
pip2 install mechanize
pip2 install requests
2. Clone tools from github
How you can enter the following code:
git clone https://github.com/storiku/osif
To see the results of the install, press ls.
3. Open the clone script result folder
Still in the termux application, write the command again:
cd osif
4. Run the main file
Just hit the following command:
python2 osif.py
Next the script will run. it looks like the image below.

So far, the process of installing Facebook’s open source information tools has been successful.
If you can’t use osif, just press ctrl + z to exit.
How to Use OSIF
Open source information facebook is a tool that is devoted to collecting information (scrape) and create bots on facebook. So please learn how to use it so that no errors occur.
This scrape tool requires fb login access so that the features in it can be used.
So first prepare an unused fb account for the experiment.
How to login fb you can follow the following guide.
Login facebook account to unlock features
Just in case, just use a spare FB account.
- Open the termux app
- Write the command cd osif
- Next write again python2 osif.py
- Type token
- Enter your email and fb account password
If Facebook login is successful, then just enter the code according to the OSIF menu
OSIF tools menu
How to display the osif tools feature, enter the command help then enter.
Here I have summarized the osif menu code and its functions:
| Code: | Function: |
|---|---|
| get_data | retrieve all friend data |
| get_info | display your friend’s data |
| dump_id | fetch all friend list id |
| dump_phone | retrieve all friends list cell phone numbers |
| dump_mail | retrieve all friend list email |
| dump_ |
take all your friend id |
| token | create access token |
| cat_token | view saved tokens |
| rm_token | delete stored tokens |
| bot | open f bot |
| clear | cleaning terminal |
| about | display information about this program |
| exit | exit program |
For example, if you want to get all the phone numbers on your Facebook friends list, type the dump_phone command and then enter.
Termux screen will immediately display all the phone numbers of each facebook account that is friends with your account.
Next, please explore all the features of this OSIF tool yourself.
As an illustration, I will give an example of one of its uses.
How to make a facebook bot using OSIF
1. Go to OSIF tools
Open the termux application and write the command cd osif python2 osif.py.
If you have not logged into Facebook, login first by entering the command token then enter your FB account email and password.
2. Enter the bot feature
You can see in the menu code list above. How to make a bot by entering the code bot then press enter.
3. Select the osif bot option
There are 8 bots that you can choose from, namely:
- Auto reactions
- Auto comments
- Auto poke
- Accept all friends request
- Delete all posts on your timeline
- Delete all friends
- Stop following all friends
- Delete all photo albums
How to use it just press the number according to the list of bots.
For example, if you want to use auto reactions, press the number 1 and then press enter.
Next, just adjust it according to your wishes, such as the amount, time, content (bot comment) etc.
Okay, now we have learned how to install osif in termux and how to use osif. I have also demonstrated its use to create a fb bot.
If something is not clear, please ask in the comments column.
Thanks for reading.