← All projects
Social MediaSweden·2024·1 month
Instagram Session ID Fetcher via Proxy
Python script that logs into a CSV list of Instagram accounts through rotating proxies and fetches session IDs — preventing email verification challenges.
Overview
The client needed to programmatically fetch Instagram session IDs for a batch of accounts, each routed through its own proxy, while keeping Instagram's challenge system from firing.
Implementation
- Reads username, password, and proxy from a CSV input file
- Logs into each account through its designated proxy
- Applies timing delays and human-like interaction patterns to prevent email challenges
- Outputs session IDs to a structured CSV
Key challenge
Preventing Instagram's email verification challenge from triggering during automated logins — solved through careful session reuse, correct device fingerprinting, and request pacing.
Tech stack
PythonRequestsInstagram Private APIProxies
★★★★★
"Ghandour did an outstanding job! He answered questions before getting hired and showed quickly big understanding and idea how to tackle the challenge. Communication was smooth. Quality was great. It was a pleasure to work with Ghandour! Highly recommended — would love to work again!"
— Sebastian Lindelof · Sweden