'How to get sessionid instagram using javascript?

I want to extract instagran sessionid using document.cookies to showing up the cookie but the sessionid is not showing up, only this mid=YdIkCAALAAHf5L950uIGxAkNWkV; ig_nrcb=1; csrftoken=jIVrrMmSxrQQ3dCAhv0IdFKwMyfK8Qa; ds_user_id=512215994096

Please someone you help me! :)



Solution 1:[1]

It’s HTTP only which means that you can’t read it through JavaScript

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Peter Smith