Skip to content
A simple algorithm designed to get the relevant users to particular given user profile.
Python
Branch: master
Clone or download

Latest commit

Latest commit f068ee4 Apr 12, 2016

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Algoritm_Flowchart(V1).png
README.md
api.py
insta-cli.py

README.md

Instagram-Algorithm

A simple algorithm designed to get the relevant users to particular given user profile.

Status

Version 1 developed. Working on making it more accurate. Under development

Algorithm

Test on your machine

To run this, you need Instagram consumer key. Follwo these steps.

  1. Go to https://www.instagram.com/developer.
  2. Login with your Instagram account.
  3. Go to "Manage Clients"
  4. Click on "Register a new client"
  5. Fill out the details and get the Consumer Key.
    Open terminal and follow this commands.
git clone https://github.com/daxeel/Instagram-Algorithm.git
cd Instagram-Algorithm

Open insta-cli.py in your text editor. Replace XXXX-XXXX-XXXX-XXXX with your cosumer key. Now start script by entering this command in terminal.

python insta-cli.py [INSTAGRAM_USERNAME]

For example,

python insta-cli.py daxeel_soni

Output

Output will be list of os usernames which are similar to given instagram username.

60 interests found! 

Scanning interest no - 1
----------
Scanning interest no - 2
----------
Scanning interest no - 3
----------
Scanning interest no - 4
----------
Scanning interest no - 5
----------
Scanning interest no - 6
----------
Scanning interest no - 7
----------
Scanning interest no - 8
----------
Scanning interest no - 9
----------
Scanning interest no - 10
----------

21 users found
---------------
[u'garvigujarati', u'malhar028', u'shagunchauhan', u'codergirl_', u'nellysugu', u'mindsetofgreatness', u'motivation.entrepreneur', u'modaecustomizacao', u'lovetutorialsx', u'spoonuniversity', u'houseofhighlights', u'sbwheels_goryaev', u'egeozmat', u'deepika__perfection', u'niralivakil98', u'starvingtime', u'savage.vids', u'flamingeos', u'natgeoyourshot', u'motivation', u'dressmybff']

Programming Concepts Used

  1. Web Scraping
  2. Text Analysis
  3. Data Mining
  4. API Interaction
  5. Error Handling
You can’t perform that action at this time.