Coder Social home page Coder Social logo

folgram's Introduction

๐Ÿš€ Folgram

๐Ÿ”ด WARNING!

This script uses your Instagram sessionID which can contain sensitive information. Please be careful when sharing or storing your sessionID. It is recommended to run this script in a secure environment.

โš ๏ธ Important Notice Before Running the Script

  1. ๐Ÿšซ Rate Limiting and Potential Ban: This script uses multi-threading to fetch the followers and following lists concurrently. This can result in a large number of requests being sent to Instagram in a short period of time. If you make too many requests, Instagram might detect the activity as bot-like and limit your API usage, or even ban your account temporarily or permanently. To avoid this, please use the script responsibly and avoid making excessive requests.

  2. ๐Ÿ”„ Unexpected Logout: If you find yourself unexpectedly logged out of your Instagram account after using this script, do not panic. This is a security measure by Instagram when it detects unusual activity such as excessive use of their API. It does not mean that your account has been hacked. Simply log back in to continue using Instagram.

๐Ÿ“– Overview

The folgram project is a Python script to analyze Instagram followers and followings. It fetches the list of followers and following of a specific user and identifies users who do not follow back.

๐Ÿ“š Project Structure

The main file in this project is main.py. This script performs the following operations:

  • Reads the Instagram sessionID from a file named cookie.txt. If the file is empty or does not exist, it asks the user to input the sessionID manually.
  • Fetches the list of followers and following of a specific user using Instagram's private API endpoints.
  • Compares the list of followers and following, and prints out the usernames of people who do not follow back.

๐Ÿš€ How to Run the Script

  1. Make sure you have Python installed on your machine. This script requires Python 3.6 or later.
  2. Install the requests library if you haven't already. You can install it using pip:
    pip install requests
    
  3. Clone this repository to your local machine.
  4. Obtain your Instagram sessionID and save it in a file named cookie.txt in the same directory as main.py.
  5. Run the script using Python:
    python main.py
    

๐Ÿ“ Note

Please be aware that this script uses private Instagram API endpoints. These are not officially supported by Instagram and may change or stop working at any time. Use this script

folgram's People

Contributors

ireddragonicy 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.