[GH-ISSUE #96] Tweets Are Truncated at 280 Characters #24

Closed
opened 2026-09-02 13:08:58 +02:00 by TheLovinator · 1 comment
Owner

Originally created by @EthanC on GitHub (Apr 13, 2023).
Original GitHub issue: https://github.com/TheLovinator1/discord-twitter-webhooks/issues/96

The text of all Tweets appears to be limited to 280 characters. However, Twitter Blue allows for up to 10,000 characters while Discord Embed descriptions allow for up to 4,096 characters. Ideally, this project should truncate at the embed description limit.

Example

image

Originally created by @EthanC on GitHub (Apr 13, 2023). Original GitHub issue: https://github.com/TheLovinator1/discord-twitter-webhooks/issues/96 The text of all Tweets appears to be limited to 280 characters. However, Twitter Blue allows for [up to 10,000 characters](https://twitter.com/elonmusk/status/1637956239891070976?s=20) while Discord Embed descriptions allow for [up to 4,096 characters](https://discord.com/developers/docs/resources/channel#embed-object-embed-limits). Ideally, this project should truncate at the embed description limit. **Example** * https://twitter.com/charlieINTEL/status/1646556919752949761 ![image](https://user-images.githubusercontent.com/16727756/231842815-354a5359-a199-48c7-8950-02ee35fb625a.png)
Author
Owner

@TheLovinator1 commented on GitHub (Jul 16, 2023):

This should work now

<!-- gh-comment-id:1636966512 --> @TheLovinator1 commented on GitHub (Jul 16, 2023): This should work now
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
TheLovinator/discord-twitter-webhooks#24
No description provided.