This project aims to allow us to analyze any IG account with a username using a simple yet powerful instagram data analytic tool.
Note: only compatible on Windows
- open an IDE (recommend: VScode)
- run the following in the terminal inside the IDE:
git clone https://github.com/KalengBalsem/instalyzer.git
- IMPORTANT locate the instalyzer file in the terminal:
# windows cmd command cd instalyzer # the end path of the terminal should be instalyzer: PS C:\Users\balse\Documents\VScode\a_folder\instalyzer>
- install the dependencies by running this command in the terminal:
pip install -r requirements.txt
- run this command in the terminal to run the server in localhost:
# windows
python main.py
PS C:\Users\balse\Documents\VScode\instalyzer> python main.py
####
# output:
Created Database!
* Serving Flask app 'application'
* Debug mode: on
WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
* Running on http://127.0.0.1:5000
Press CTRL+C to quit
* Restarting with stat
Created Database!
* Debugger is active!
* Debugger PIN: 102-884-233
- open the localhost link -> 127.0.0.1:5000
- done
Enter an Instagram (IG) username to generate the following output:
- Main user profile information (user_id, username, full_name, posts_count, followers, following, bio, category)
- IG posts data (likes, comments, hashtags, tagged user, timestamp (upload time), etc.)
Data visualizations:
- Most popular upload day
- Most popular upload time
- Line plot of recent posts' performance (based on likes/comments)
- Note: the user can click on the data, then be given a link directing to that post.
- Top hashtags
- Top caption words
- List of links to Most Liked Posts and Most Commented Posts