Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I have a twitter premium subscription and MAX_TWEET_LENGTH to 2500 but I can't to post a tweet with more than 280 characteres #883

Closed
0x3N3jVhPUV opened this issue Dec 7, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@0x3N3jVhPUV
Copy link

Describe the bug
I have a Premium twitter subscription, I'm using the latest coockies, in eliza/packages/client-twitter/src/post.ts, I changed MAX_TWEET_LENGTH to 2500; but my agent cannot post more than 280 characters on X.
Here is what I'm getting when I'm trying to post with more thant 280 characters:
"Error sending tweet; Bad response: {
errors: [
{
message: 'Authorization: Tweet needs to be a bit shorter. (186)'
...."

To Reproduce
1- Get a premium twitter subscription
2- Make sure you ar using the latest coockies
3- Change MAX_TWEET_LENGTH to 2500
4- Run the agent

Expected behavior

Since I have a twitter premium subscription ,I should be able to post a tweet with more than 280 characteres.

Screenshots
image

Question:
What should I do in order to post more than 280 characters on X?

Regards

@0x3N3jVhPUV 0x3N3jVhPUV added the bug Something isn't working label Dec 7, 2024
@CodingTux
Copy link
Contributor

Wait for few hours if you purchased the premium recently. Also try with different length size first like 500, 1000, 1500 etc and check when it starts failing. Another thing you can do is check the generated response length.

@oxSaturn
Copy link
Contributor

Seems to be a bug fixed in agent-twitter-client elizaOS/agent-twitter-client#18

@0x3N3jVhPUV
Copy link
Author

Seems to be a bug fixed in agent-twitter-client ai16z/agent-twitter-client#18

Indded but when I tried to use the function sendNoteTweet(), I have the following error:
ERRORS
Error sending tweet:
{}

After buildind, I checked eliza/node_modules/agent-twitter-client/src/scraper.ts and the function sendNoteTweet() is not in the file.

@0x3N3jVhPUV 0x3N3jVhPUV reopened this Dec 12, 2024
@oxSaturn
Copy link
Contributor

Seems to be a bug fixed in agent-twitter-client ai16z/agent-twitter-client#18

Indded but when I tried to use the function sendNoteTweet(), I have the following error: ERRORS Error sending tweet: {}

After buildind, I checked eliza/node_modules/agent-twitter-client/src/scraper.ts and the function sendNoteTweet() is not in the file.

The code was merged without a new release. cc @lalalune Can you please cut a release for agent-twitter-client?

@shakkernerd
Copy link
Member

Implemented in #1339

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants