basic diagnostic of the latest posts of one or more Instagram profiles, such as frequeny of posting and overall engagement.
on a logged in Instagram session, open the developer tools and click on the application tab:
then select the URL under cookies and copy the string on sessionid
create an environmental variable with the copied sessionid:
$ export SESSION_ID={session_id}
it's important to remember that when set this way, environmental variables aren't persistent!
query for profile metrics by running the script with the -u argument followed by one or more usernames:
$ python3 main.py -u "{username_1, username_2}"
python.