This is an educational project and should not be used for any malicious or unauthorized purposes.
This project is designed to create a matrix of followers of a given Instagram user. The matrix will show whether two users are following each other or not. The project is divided into two phases:
- User logs in to their Instagram account.
- The script fetches all the followers of the logged-in user.
- The script then fetches all the followers of the followers from step 2.
- The data is stored in a JSON file.
- The script reads the JSON file from phase 1.
- A matrix is created where each row represents a user, and each column represents a follower.
- If two users are following each other, the corresponding cell in the matrix will be 1. Otherwise, it will be 0.
- The matrix is then exported as a CSV file.
The goal of this project is to analyze the followers of an Instagram account in order to understand the reach and influence of the account. The data collected in this project can be used for various purposes such as analyzing audience demographics, understanding the spread of information, and identifying key influencers.
Please note that the project uses Python programming language and makes use of the json and csv libraries. Also it uses Instagram Private API package.
Please use the code at your own risk and make sure to comply with Instagram's terms of service.