Twitter cookies do not match the docs #558
Labels
bug
Something isn't working
Client: Twitter
documentation
Improvements or additions to documentation
Describe the bug
After trying to setup my twitter client using cookies following this format, I was quite surprised that I was always facing auth related errors even though the details were correct.
After deeping more, I found out that it was trying to set cookies using a different format.
https://github.com/ai16z/eliza/blob/main/packages/client-twitter/src/base.ts#L548
using
cookie.key
in the map, while it's the example usesname
as the key in the docs:https://github.com/ai16z/eliza/blob/main/packages/client-twitter/src/base.ts#L548
To Reproduce
Just need to try creating a twitter client following the documentation.
Opening a PR to change that.
The text was updated successfully, but these errors were encountered: