Login Cookie
It logins to the twitter through list of cookies passed in cookies
body: returns data
success_score: api success rate
errors: errors encountered in api
Here is the code:-
- twitter.login_cookie(cookies=[{'domain': '.twitter.com', 'expirationDate': 1676527503, 'hostOnly': false, 'httpOnly': false}, ...])
- Parameters
cookies (str) – list of cookies of twitter
- Returns
{“body”: {}, “success_score”: “100”, “errors”: []}
- Return type
dict