instagrapi

How to get Instagram session id?

How to get Instagram session id? Question: I am making a bot and I want the program to automatically get a session id if the old session id expires. This is the code I am currently using: from instagrapi import Client import os cl = Client() session_id = "<<SESSION ID GOES HERE>>" print("Trying Login") cl.login_by_sessionid(session_id) …

Total answers: 1