https://github.com/ccozkan/instagram-unfollowers
Who unfollowed you, who followed you, who doesn't follow you back, who liked your pics the most and who never? Don't worry I got all the answers. Also this can used for non-private users too.
https://github.com/ccozkan/instagram-unfollowers
instagram instagram-followers instagram-unfollowers unfollower unfollowers
Last synced: about 2 months ago
JSON representation
Who unfollowed you, who followed you, who doesn't follow you back, who liked your pics the most and who never? Don't worry I got all the answers. Also this can used for non-private users too.
- Host: GitHub
- URL: https://github.com/ccozkan/instagram-unfollowers
- Owner: ccozkan
- License: gpl-3.0
- Created: 2017-11-13T21:24:24.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-02-07T13:17:40.000Z (over 6 years ago)
- Last Synced: 2024-10-30T09:36:08.417Z (7 months ago)
- Topics: instagram, instagram-followers, instagram-unfollowers, unfollower, unfollowers
- Language: Python
- Size: 35.2 KB
- Stars: 115
- Watchers: 7
- Forks: 19
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# instagram-unfollowers
Who unfollowed you, who followed you, who doesn't follow you back, who liked your pics the most and who never? Don't worry I got all the answers. Also this can used for non-private users too.i. information
--------------**This badboy creates a html file with information of:**
- New unfollowers
- New followers
- Who is not following back
- Who liked your pics the most -- numerically of course :D
- Who never liked your pics
**Note:** Lite version doesn't check like related stuff.~~**[TODO]:** Make a even lighter version that only checks new "not followed backs".~~
**Note:** Ultralight version only checks "new not followed backs".
**Also you can check other profiles too. Of course they need to be public or your following.**
ii. install and run
-------------------This project is based and forked from ahmdrz/instagram-statistics.
In order to install the requirement packages and run the progam. Type following to the terminal.
```
git clone https://github.com/ozkc/instagram-unfollowers
```
```
pip2 install -r requirements.txt
```
In order to use you need to get instagram id. It is different than username and just contains numbers. It can be learn from various sites.ex: [http://www.ershad7.com/InstagramUserID/](http://www.ershad7.com/InstagramUserID/)
We see that instagram user id for nasa is 528817151
In order to use it you need to edit **main.py**
```
#modify here
insta = Instagram('usernamefoo', 'passfordfoo')
```
After writing down the username and password run the programpython2.7 main.py foouserid
Write whoever you want to check. You or your Ex or nasa. Lets say you're checking nasa's account.python2.7 main.py 528817151
And check html file with any browser. Firefox or elinks if you're working on the terminal.
iii. some ideas
---------------If you have Raspberry Pi up and running in your home or whatever. You can make it send you a email at every once a while.
In order to send html output email with Mutt, download and configure your .muttrc according to your email provider. hen create a instagramReportEmail.sh
#!/bin/bash
/usr/bin/python2.7 /home/pi/instagram-unfollowers/main.py 528817151
/usr/bin/mutt -e "my_hdr Content-Type: text/html" [email protected] -s "instagram report" < instagram-unfollowers/output.htmlAlternatively since strange usernames can mess up html view of email reader, its safer to use output.html as attachment.
#!/bin/bash
/usr/bin/python2.7 /home/pi/instagram-unfollowers/main.py 528817151
/bin/echo "brtyb github.com/ozkc" | /usr/bin/mutt -a "output.html" -s "instagram weekly follow report" -- [email protected]And make sure you make it executable
chmod +x instaReport.sh
Check if that works and make sure you get the email. Now lets make it periodical. In order to make the linuxbox do some periodical tasks write
crontab -e
to the terminal. Following example uses Mutt to send email. It send email at every sunday at 4:16 pm. This line is added to the crontab file.
16 16 * * SUN /home/pi/instaReport.shAnd it's all good now.
iv. license
---------------
See full license on [this](https://github.com/cagrio/instagram-unfollowers/blob/master/LICENSE) , Under GNU GENERAL PUBLIC LICENSE