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

Bluesky integration does not fetch URL previews #394

Open
1 task done
Ch0wW opened this issue Oct 24, 2024 · 5 comments
Open
1 task done

Bluesky integration does not fetch URL previews #394

Ch0wW opened this issue Oct 24, 2024 · 5 comments
Assignees

Comments

@Ch0wW
Copy link

Ch0wW commented Oct 24, 2024

📜 Description

When sending out an URL to the Bluesky service (such as https://google.com), it seems that nothing can be clickable on the BlueSky post due to the lack of an important feature from the protocol. As a result, the followers cannot click links posted by the poster, limiting its usage.

👟 Reproduction steps

  1. Create a BlueSky post on Postiz.
  2. Send any URL to your post.
  3. The URL is parsed as plain text, and not as a link.

👍 Expected behavior

The URL should be parsed just fine, and users can click on it.

👎 Actual Behavior with Screenshots

image
image

💻 Operating system

Linux

🤖 Node Version

I'm using Docker...

📃 Provide any additional context for the Bug.

The atproto protocol references how to add URLs to their posts. The document is refered here : https://docs.bsky.app/docs/advanced-guides/post-richtext .

👀 Have you spent some time to check if this bug has been raised before?

  • I checked and didn't find similar issue

Are you willing to submit PR?

None

@jamesread jamesread self-assigned this Oct 28, 2024
@jamesread
Copy link
Collaborator

Just found this today, and #hashtags as well, sadly :-(

I'll try a patch for this tonight. assigning to me.

@jamesread jamesread changed the title Bluesky integration does not parse URLs Bluesky integration does not parse URLs add tags Oct 28, 2024
@Ch0wW
Copy link
Author

Ch0wW commented Oct 28, 2024

Yup, looks like hashtags follow the same treatment...

Thank you very much! 🙏

@jamesread
Copy link
Collaborator

Heya, fixed in PR #404 . See below for proof;

image

Are you running Postiz in a container? If so, I'll queue up a new container image for you.

jamesread added a commit that referenced this issue Oct 28, 2024
bugfix: #394 Bluesky posts now support "richtext" (URLs, tags, etc)
@Ch0wW
Copy link
Author

Ch0wW commented Oct 29, 2024

Heya, fixed in PR #404 . See below for proof;

image

Are you running Postiz in a container? If so, I'll queue up a new container image for you.

I indeed tested it, and it works quite well! Thank you very much! However, I might probably be picky, but it might miss one last feature to make that fully complete, and that would be the inclusion of link cards (seen here for instance: https://docs.bsky.app/docs/advanced-guides/posts#website-card-embeds ). That would probably mean to check in advance the URI, and verify if the link has all the og:title, og:description, og:image for instance.

Sorry in advance for this request... 🙏

Do you believe it might be possible to add them?

@jamesread
Copy link
Collaborator

Yeah, I saw that too when I was testing - but I didn't see that we had to fetch this client side, that's crazy.

I'll look into it when I get a moment.

@jamesread jamesread changed the title Bluesky integration does not parse URLs add tags Bluesky integration does not fetch URL previews Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants