Skip to content

This script allows you to search for an Instagram profile using user ID or retrieve a profile's ID by username. It utilizes the Instagram API to retrieve profile information based on the provided input.

License

Notifications You must be signed in to change notification settings

AyalX/Instagram-Lookup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Instagram Profile Search and ID Lookup

This script allows you to search for an Instagram profile using user ID or retrieve a profile's ID by username. It utilizes the Instagram API to retrieve profile information based on the provided input.

Prerequisites

  • Python 3.x
  • Requests library (pip install requests)

Session ID

In order to use this script, you need to provide your Instagram session ID. The session ID is a unique identifier associated with your Instagram login session, and it is required to authenticate your requests to the Instagram API.

To obtain your Instagram session ID, you can follow these steps:

  1. Open Instagram in your web browser.
  2. Log in to your Instagram account.
  3. Right-click on the page and select "Inspect" to open the browser's developer tools.
  4. In the developer tools, navigate to the "Application" tab.
  5. In the left sidebar, expand the "Cookies" section and select "https://www.instagram.com".
  6. Look for a cookie named "sessionid" and copy its value.

Session ID

Usage

  1. Clone the repository or download the script.
  2. Install the required dependencies by running pip install requests in your terminal.
  3. Run the script by executing python ig-lookup.py in your terminal.
  4. Input your Instagram session ID.

You will be prompted to choose the search method: either by user ID or by username. Provide the required information and follow the instructions to retrieve the desired Instagram profile username or user ID.

Please note that the session ID will eventually expire.

Disclaimer

This script is provided for educational purposes only. Please use it responsibly. Any misuse of this script and its consequences are solely the user's responsibility. The author does not take any responsibility for any misuse of this script.

License

This project is licensed under the Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0) License.

Author

Contributions

Contributions, issues, and feature requests are welcome. Feel free to check issues page if you want to contribute.

Show your support

Give a ⭐️ if this project helped you!

About

This script allows you to search for an Instagram profile using user ID or retrieve a profile's ID by username. It utilizes the Instagram API to retrieve profile information based on the provided input.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages