feat: handle long tweet
related: https://github.com/ai16z/eliza/issues/1178
This PR handles long tweets as follows:
- Check if the post is a long post. If it’s not, proceed with a normal tweet. Otherwise, use the sendNoteTweet method for long tweets.
- If sendNoteTweet fails, truncate the post and fall back to using a normal tweet.
Also this pr fix the double post issue based on cjft PR, I included fix (https://github.com/ai16z/eliza/pull/1329)
test result:
- non-verfied user post: https://x.com/IBGDRGNAI/status/1870505476284469692
- verified user post: https://x.com/JayChou11879/status/1870505908834615527
duplicate of #1335 draft
Duplicate of #1329 too?
Duplicate of #1329 too?
Yes @ChristopherTrimboli already had a pr to fix double tweet issue. We should open his pr and merge his pr first: https://github.com/elizaOS/eliza/pull/1329
Duplicate of #1329 too?
Yes @ChristopherTrimboli already had a pr to fix double tweet issue. We should open his pr and merge his pr first
im fine, I discussed with TCM, honest mistake, in open-source some saltiness if devs get PRs yoinked, but was legit coincidence, idc that much, just a 1 liner. I feel welcome after TCM chat + role upgrade, not worried.
resolved conflict and tested
verified account: https://x.com/JayChou11879/status/1872688847106044244 non-verified-account: https://x.com/IBGDRGNAI/status/1872689915114475839