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

Support Bluesky posts #54

Open
Glodenox opened this issue Nov 10, 2024 · 0 comments
Open

Support Bluesky posts #54

Glodenox opened this issue Nov 10, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@Glodenox
Copy link
Owner

Supporting Bluesky seems reasonably easy to do, similar to what is already supported for Twitter/X: https://docs.bsky.app/docs/advanced-guides/oembed Only the format https://bsky.app/profile/*/post/* is supported, so that is easy to check for.

A request would be https://embed.bsky.app/oembed?url=https://bsky.app/profile/did:plc:vjug55kidv6sye7ykr5faxxn/post/3jzn6g7ixgq2y&format=json. In the response JSON the blockquote is stored within the html field. Instead of fully loading everything, it is probably better to manipulate that response and style that, instead of loading post statistics (as the post will only be shown shortly).

@Glodenox Glodenox added the enhancement New feature or request label Nov 10, 2024
@Glodenox Glodenox self-assigned this Nov 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant