davidteather / TikTok-Api

The Unofficial TikTok API Wrapper In Python
https://davidteather.github.io/TikTok-Api
MIT License
4.87k stars 977 forks source link

[FEATURE_REQUEST] - Get current user info from cookie #794

Closed balmacefa closed 2 years ago

balmacefa commented 2 years ago

I want dynamically to know who is the owner of the user cookie, specifically the user_name or user_id. Is this currently possible? Can this be calculated from the cookies?

s1saida commented 2 years ago

+1. FYI this is a demo of getting current login session of Instagram from Firefox cookies db and use it in instaloader (unofficial Instagram API): https://instaloader.github.io/troubleshooting.html#login-error

davidteather commented 2 years ago

The user cookie is not used in this package