Code Monkey home page Code Monkey logo

ig-curiosity-analyzer's Introduction

Instagram Curiosity Analyzer

This repository contains a Python script that uses the instagrapi library (click here for more information) to analyze the curiosity level of your Instagram followers based on their interaction with your stories. By calculating the percentage of followers who consistently view your stories, you can gauge their curiosity and engagement. Additionally, the script provides information about followers who are 100% curious and displays their profile information.

Usage

To use this notebook:

  1. Open the main.ipynb notebook in Google Colab.
  2. Run each code cell sequentially.
  3. Modify the provided username and password variables with your Instagram credentials.
  4. Make sure to install the required libraries by running the following code cell:
    !pip install colorama
    !pip install instagrapi
  5. Run the script by executing the code cells.

Script Explanation

The script performs the following steps:

  1. Logs in to your Instagram account using the provided credentials.
  2. Retrieves all the stories posted by your account.
  3. Retrieves the number of viewers and their usernames and full names for each story.
  4. Calculates the curiosity percentage of each viewer by determining how many of your stories they have viewed.
  5. Displays the viewers' curiosity percentages and identifies followers who are 100% curious.
  6. Retrieves and displays profile information for the followers who are 100% curious.

Important Note

To accurately measure curiosity, it is recommended that you post a series of 11 identical stories (this is optional for example i posted a series of 11 identical black stories). This repetition ensures consistent calculation of curiosity based on the viewership across all stories.

Contributing

Contributions are welcome! If you'd like to contribute to this project, please follow these steps:

  1. Fork the repository.

  2. Create a new branch: git checkout -b my-new-branch.

  3. Make your changes and commit them: git commit -m 'Add some feature'.

  4. Push to the branch: git push origin my-new-branch.

  5. Submit a pull request.

License

This project is licensed under the MIT License.

ig-curiosity-analyzer's People

Contributors

amirrezahmi avatar

Stargazers

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

Watchers

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