Giter Club home page Giter Club logo

insta-tracker's Introduction

Insta-tracker

Insta-tracker is a Python project that connects to an Instagram account and retrieves the followers and following of a specified Instagram user. It also displays users you don't follow back and users who don't follow you back.

Features

  • Log in to an Instagram account
  • Retrieve followers and following of a target user
  • Display users you don't follow back
  • Display users who don't follow you back

Requirements

  • Python 3.6 or higher
  • An Instagram account

Setup

Step 1: Clone the Repository

git clone https://github.com/AlirezaRa94/insta-tracker.git
cd insta-tracker

Step 2: Create a Virtual Environment

It is recommended to use a virtual environment to manage dependencies. You can create a virtual environment using the following command:

python -m venv env

Step 3: Activate the Virtual Environment

On Windows:

.\env\Scripts\activate

On macOS/Linux:

source env/bin/activate

Step 4: Install the Required Dependencies

Install the dependencies listed in the requirements.txt file:

pip install -r requirements.txt

Usage

To run the script and retrieve the followers and following of a target Instagram user, follow these steps:

Open the main.py file and replace the following placeholders with your Instagram credentials and the target username:

YOUR_USERNAME = 'YOUR_USERNAME'
YOUR_PASSWORD = 'YOUR_PASSWORD'
TARGET_USERNAME = 'YOUR_TARGET_USERNAME'

Run the script:

python main.py

Example

Here is an example of what the output might look like:

Followers of YOUR_TARGET_USERNAME you don't follow back:
follower1
follower2
follower3
...

Following of YOUR_TARGET_USERNAME they don't follow you back:
followee1
followee2
followee3
...

Notes

  • Ensure that your Instagram account credentials are kept secure and not hardcoded in public repositories.
  • Be aware of Instagram's rate limits to avoid temporary bans.
  • If your Instagram account has two-factor authentication enabled, you will need to handle this within the script. Refer to the instaloader documentation for more details on managing two-factor authentication.

insta-tracker's People

Contributors

alirezara94 avatar

Watchers

 avatar

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.