louisgrasset / touitomamout

Touitomamout is an easy way to synchronize your Twitter's tweets 🦤 to Mastodon 🦣 and Bluesky post ☁️ (also known as Twitter to Mastodon & Bluesky crossposter)
https://hub.docker.com/r/louisgrasset/touitomamout
GNU Affero General Public License v3.0
116 stars 6 forks source link

Tweets with links are not forwarded to BlueSky #156

Closed PatrickTerlisten closed 7 months ago

PatrickTerlisten commented 8 months ago

Describe the bug When a Tweet contains an URL, this Tweet is not synced to BlueSky, but it's synced to Mastodon.

To Reproduce

  1. Create new Tweet with an URL
  2. Wait
  3. Check Mastodon and BlueSky
  4. Mastodon got the Tweet, BlueSky not

docker logs

2024-01-02T14:32:17.484376093Z TypeError: Failed to parse URL from
2024-01-02T14:32:17.484384093Z     at mediaDownloaderService (file:///app/dist/services/media-downloader.service.js:9:15)
2024-01-02T14:32:17.484390793Z     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2024-01-02T14:32:17.484396993Z     at async getBlueskyLinkMetadata (file:///app/dist/helpers/bluesky/get-bluesky-link-metadata.js:16:23)
2024-01-02T14:32:17.484403193Z     at async getBlueskyChunkLinkMetadata (file:///app/dist/helpers/bluesky/get-bluesky-chunk-link-metadata.js:15:24)
2024-01-02T14:32:17.484409293Z     at async blueskySenderService (file:///app/dist/services/bluesky-sender.service.js:106:22)
2024-01-02T14:32:17.484415393Z     at async postsSynchronizerService (file:///app/dist/services/posts-synchronizer.service.js:29:17)
2024-01-02T14:32:17.484421293Z     at async touitomamout (file:///app/dist/index.js:21:31)
2024-01-02T14:32:17.484427194Z     at async Timeout._onTimeout (file:///app/dist/index.js:37:9)

Expected behavior Tweet is synced to BlueSky and a Preview is shown.

Additional supporting information Touitomamout is running in Docker on Ubuntu 220.04 LTS

patrick@app-vm-1 ~ % sudo docker image ls
REPOSITORY                  TAG       IMAGE ID       CREATED        SIZE
louisgrasset/touitomamout   latest    204f30cdce63   4 weeks ago    313MB