notetweet_obsidian icon indicating copy to clipboard operation
notetweet_obsidian copied to clipboard

Max tweet length should be treated differently

Open andromedarabbit opened this issue 2 years ago • 1 comments

According to Counting characters | Docs | Twitter Developer Platform some glyphs will count as more than one character and the following line should be rewritten:

https://github.com/chhoumann/notetweet_obsidian/blob/1fba979813737b9d10a02ad23eaceae8eae819a5/src/Modals/PostTweetModal.ts#L103

andromedarabbit avatar Jul 15 '22 12:07 andromedarabbit

I 100% support this. It is really annoying when I post long URLs. URLs are automatically shortened by twitter and it should count just as 23 chars.

The actual behaviour is breaking my tweets into threads just because I post a long link.

Polonco avatar Aug 10 '22 13:08 Polonco