Coder Social home page Coder Social logo

jakim / ig-monitoring Goto Github PK

View Code? Open in Web Editor NEW
291.0 34.0 50.0 670 KB

🚨 DISCONTINUED🚨 IGMonitoring - Free, self hosted Instagram Analytics and Stats

Home Page: http://bit.ly/pjakimowski

License: MIT License

PHP 99.18% Batchfile 0.28% CSS 0.54% Hack 0.01%
instagram instagram-analytics analytics monitoring ig instagram-api statistics ig-monitoring

ig-monitoring's Introduction

The open source version will still be available on github, but will no longer be developed or actively supported.

IG Monitoring Cloud

Let me introduce you to a cloud version of a system I'm currently working on. Perhaps it will answer your needs. That will be more featured version of the system you know from GitHub, with more extensive tag analytics and account analytics expanded with locations. Additionally it'll have various permission levels, so you can create an account for a Client with stats available there. And that's just for a starter :)

Versions comparison

IG Monitoring - Free version

Screenshots

Free DEMO

Cloud Free Trial

Account statistics

Tag statistics

FAQ

PREMIUM SUPPORT

Versions comparison

Version

BETA stage. Use at your own risk.

Branch 0.9 is the most stable.

Maintainability Scrutinizer Code Quality Build Status

Yii2

Installation

Before you start

You need WORKING proxies (at least 2). (I recommend the private, dedicated ones [aff link])

You need a server (vps will be ok) with linux, root access and configured LEMP, that is:

System installation (terminal)

  • create database: mysql, utf8mb4
  • run git clone https://github.com/jakim/ig-monitoring.git
  • run cd ig-monitoring (you will enter the project catalog)
  • download composer
  • run php composer.phar install
  • run chmod 0777 runtime
  • run chmod 0777 web/assets
  • run chmod 0777 web/uploads
  • copy config/db.dist => config/db.php and enter the access data to the created database
  • run php yii migrate (tables in the database should be created)
  • run php yii admin/dictionaries

Configure google sign-in

  • go to: https://console.developers.google.com and create a new project
  • enable API: Google+ API
  • add oAuth login credentials (type: web application)
  • add authorized redirect url YOUR_DOMAIN/admin/auth/auth?authclient=google
  • copy config/authClientCollection.php.dist => config/authClientCollection.php and enter clientId, clientSecret and redirectUrl as above

Worker configuration (data refreshing)

  • install the supervisord, the method of installation depends on the system
  • add configuration according to https://github.com/yiisoft/yii2-queue/blob/master/docs/guide/worker.md (in Debian 8 and 9: /etc/supervisor/conf.d/ig_monitoring.conf)
  • change in the configuration:
    • user => nginx
    • numprocs => 2 is enough (I recommend twice less than the number of proxy and a number equal to the number of processor cores/threads)
    • I suggest stdout_logfile to be set to the project directory, ie PROJECT_FULL_PATH/runtime/logs/supervisor.log
  • run supervisord
  • add cron hourly for php /PROJECT_FULL_PATH/yii stats/update-accounts and php /PROJECT_FULL_PATH/yii stats/update-tags

Adding and activation of the system user

  • try to log in, if everything goes well, you'll see an "inactive account message"
  • run the command php yii user/activate 'YOUR_GOOGLE_EMAIL'
  • log in again

Next steps

Legal

This code is in no way affiliated with, authorized, maintained, sponsored or endorsed by Instagram or any of its affiliates or subsidiaries. This is an independent tool. Use at your own risk.

Screenshots

image image dashboard_ig_monitoring image image

FAQ

Why did I build it?

  • Because I need something that I can quickly change for my needs.

Why is it free?

  • Because I realized that I like building tools more than using them :)

Is it safe for usage?

  • You never known, but I’m using this for few months now without any issue.

Do I need to enter my Instagram login and password?

  • No, the system is based on publicly available data, so you do not have to provide any sensitive data.

Will the system harm my accounts?

  • No, everyone can monitor public accounts.

Why did you build two versions?

  • I needed a system to monitor accounts (now it's several thousands), but I enjoy software development more than accounts maintenance, which is why the free version was created. The cloud version was created as a response to all users problems with the installation and maintenance of the free version.

What do I expect from this share?

  • New ideas would be great, feel free to create issue and PR. :)

Free Version PREMIUM SUPPORT

If you do not know how to get into the installation, I can do it for you. As part of the support, I offer:

  • installation of a www server
  • database installation
  • script configuration
  • free, good ssl certificate (letsencrypt)
  • script modifications, according to requirements
  • other software integration

Troubleshooting

'SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes

You probably have a low database version, make sure your system meets the requirements

ig-monitoring's People

Contributors

dependabot[bot] avatar jakim avatar oreolek avatar scrutinizer-auto-fixer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ig-monitoring's Issues

track the number of likes in the past day, in the past 7 days & 14 days

It think the graph should have this added if possible
-The exact no of like in last day
-The Avg. no of like in the last 7 days - so it shouldn’t be based on last 10 posts, it should be based on how many post where made in the last 7 days
-The Avg no of likes in the last 14 days - same here

image

add update status

If the update returns an error, try to update the name, stop updating if unsuccessful.
after #32

Migrations: Specified key was too long

Hi, I'm having problems when I start the initial migrations.

When I created the mysql database it does not have the option utf8mb4, but i have utf8mb4_bin, utf8mb4_general_ci, utf8mb4_unicode_ci and others.

I tried them all but they all give me the following error:

*** applying m180110_204953_create_account_table
    > create table account ...Exception 'yii\db\Exception' with message 'SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes
The SQL being executed was: CREATE TABLE `account` (
        `id` int(11) NOT NULL AUTO_INCREMENT PRIMARY KEY,
        `username` varchar(255) NOT NULL UNIQUE,
        `profile_pic_url` varchar(255),
        `full_name` varchar(255),
        `biography` varchar(255),
        `external_url` varchar(255),
        `instagram_id` varchar(255),
        `updated_at` datetime,
        `created_at` datetime,
        `monitoring` tinyint(1) NOT NULL DEFAULT 0
)'

in C:\xampp\htdocs\ig-monitoring\vendor\yiisoft\yii2\db\Schema.php:664

Error Info:
Array
(
    [0] => 42000
    [1] => 1071
    [2] => Specified key was too long; max key length is 767 bytes
)

Does anyone know how to help me?

thanks

rest api

IN PROGRESS

  • GET /accounts/ID/media-accounts (with virtual attribute "occurs") #48

An idea for the next endpoints:

  • GET /accounts/ID
  • GET /accounts/ID/media-tags (with virtual attribute "occurs")
  • GET /accounts/ID/stats

i can run only localhost

Dear,
i try to run as a web server (on LAN and over LAN) and nothing, i can run only local, there is a specific issue?
os: ubuntu 16.04LTS, php 7.25
regards

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.