Closed aegie4 closed 12 months ago
This did not happen in my environment (node 18). Please check the updated documentation about the authentication process changed in twitter-openapi-typescript 0.0.19
I fixed the call to getClientFromCookies()
according to the updated documentation and it works now. Thank you!
When I call
getHomeLatestTimeline()
orgetTweetDetail()
(and I assume any other api call) I get an error:ResponseError: Response returned an error code
It happens here: https://github.com/fa0311/twitter-openapi-typescript/blob/145a39cc1318c6015d2192d24f338f4a18a5477a/twitter-openapi-typescript-generated/src/runtime.ts#L140 For some reason
response
is{}
(empty object)I'm using the latest versions:
twitter-openapi-typescript 0.0.19
twitter-openapi-typescript-generated 0.0.12
My code worked a week ago when I used
twitter-openapi-typescript
version0.0.17
I'm using Deno.