Open dominik-sfl opened 1 month ago
did you find the issue with this?
up
I'm getting same issue
const client = new TwitterApi({
appKey: env.TWITTER_CONSUMER_KEY,
appSecret: env.TWITTER_CONSUMER_SECRET,
accessToken: env.TWITTER_ACCESS_TOKEN,
accessSecret: env.TWITTER_ACCESS_TOKEN_SECRET,
})
const rwClient = client.readWrite
const tweetText = endent`Hello World!`
try {
const result = await rwClient.v2.tweet(tweetText)
console.log('Tweet posted successfully:', result)
} catch (error) {
console.error('Error posting tweet:', error)
}
Same here, using next.js server actions.
const twitterClient = new TwitterApi(twitterAppBearerToken);
Hello,
This library is not actively maintained since Elon takeover, however, we accept PRs!
Any idea in what version it started though?
Hi @PLhery,
Damn, that’s sad. PR about improvement?
I’ll inspect and see when it started.
Describe the bug I am getting this error anytime I just import the library & do a simple call: e.g.
Version
Additional context All of this worked really well before, not sure what's changed? My codebase is pretty much the same.