Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/josephfusco/ig-follow-count
:chart_with_upwards_trend: A simple Instagram analytics tool that continuously logs and graphs your follower count.
https://github.com/josephfusco/ig-follow-count
analytics follower-count graph instagram instagram-analytics plotly
Last synced: 14 days ago
JSON representation
:chart_with_upwards_trend: A simple Instagram analytics tool that continuously logs and graphs your follower count.
- Host: GitHub
- URL: https://github.com/josephfusco/ig-follow-count
- Owner: josephfusco
- Created: 2016-02-21T18:01:42.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-10-08T14:31:15.000Z (about 5 years ago)
- Last Synced: 2024-10-03T12:33:31.805Z (about 1 month ago)
- Topics: analytics, follower-count, graph, instagram, instagram-analytics, plotly
- Language: CSS
- Homepage: http://ig-follow-count.jfus.co/
- Size: 111 KB
- Stars: 39
- Watchers: 9
- Forks: 11
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
Awesome Lists containing this project
README
# IG Follow Count [![License](https://img.shields.io/badge/license-GPL--2.0%2B-green.svg)](http://www.gnu.org/licenses/gpl-2.0.html)
A simple Instagram analytics tool that continuously logs and graphs your follower count.
## Themes
#### Default
![default theme](https://cloud.githubusercontent.com/assets/6676674/14550091/cdf47d92-0293-11e6-9e67-c54a1736ef24.png)#### Dark
![dark theme](https://cloud.githubusercontent.com/assets/6676674/14550100/d756086a-0293-11e6-88f6-5ba2196582fb.png)#### Newsprint
![newsprint theme](https://cloud.githubusercontent.com/assets/6676674/14550368/1b95b294-0296-11e6-95eb-d22f8a8beefd.png)## Setup
SSH into server, `cd` to the public root and clone project.
```sh
git clone https://github.com/josephfusco/ig-follow-count .
```Copy `config-sample.php` to `config.php` in the project root and fill in the values.
```sh
cp config-sample.php config.php && nano config.php
```Replace the text within the brackets along with the brackets with the proper values. To learn more about how to attain these values visit [https://www.instagram.com/developer/authentication/](https://www.instagram.com/developer/authentication/).
```php
/** Instagram user ID */
define( 'IG_USER_ID', '{your user id here}' );/** Instagram access token */
define( 'IG_ACCESS_TOKEN', '{your access token here}' );
```After saving the newly made `config.php`, we just need to set the cron job.
```sh
crontab -e
```In this example we are running `cron.php` every minute which is located in the project root. Add the following to the file and save. (replace '{yourwebsite.com}' with your domain)
```sh
*/1 * * * * wget -O /dev/null http://{yourwebsite.com}/cron.php
```Upon saving the file it should confirm with the following message: `crontab: installing new crontab`.
Sample data will keep being displayed until `cron.php` is first ran. Once ran it will initially create the `log.csv` file and the sample data will stop loading.
## CSV Format
`Time,Grams,Followers,Following`
\* _Grams_ represents the number of photos on your account at the time
## To Do
- [X] Create simple theme template system.
- [ ] Add pre-loader.
- [ ] Create install script for easier setup.
- [ ] Possibly break up log files into months or weeks for shorter graph load times.
- [ ] Live update graph.## Creators
[Joseph Fusco](https://github.com/josephfusco) & [James Pistell](https://github.com/pistell)