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

Added sendLongTweet functionality to send Twitter Blue long form posts #18

Merged
merged 1 commit into from
Dec 9, 2024

Conversation

kingbootoshi
Copy link
Contributor

if your twitter agent has twitter blue, using sendLongTweet functionality will allow it to create long form posts (up to 25,000 characters!)

when posting with twitter blue, this is the request used

https://x.com/i/api/graphql/YNXM2DGuE2Sff6a2JD3Ztw/CreateNoteTweet

for use in code, you can create some logic where tweets <280 characters use regular sendTweet, and tweets >280 use sendLongTweet

@0x3N3jVhPUV
Copy link
Contributor

Here is what I got 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.

@konstantine25b
Copy link

hey I wanted to use this functionality but its not implemented in eliza can you fix this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants