I Trying to Tweet from A Cloudflare Worker and I Can't Becuase Cloudflare Workers Don't Support Nodejs's http
#268
Unanswered
ChristianOConnor
asked this question in
Q&A
Replies: 1 comment
-
Requests are just HTTP call to the right method and the right endpoint mentionned in Twitter documentation. Nothing more, nothing less. Otherwise you cannot use this client as it intensively use node's internals. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As the title says, I want to periodically tweet from a Cloudflare worker using 'twitter-api-v2.' The problem is that I can't use 'twitter-api-v2' in a Cloudflare worker because it relies on nodejs's
http
. So I need to get the raw API call that 'twitter-api-v2' is making. This is my code that works locally on a node install.index.ts
twit.ts
So what would this look like as a raw request?
Beta Was this translation helpful? Give feedback.
All reactions