Skip to content

Feature Request: Bluesky media URLs need ‘@jpeg’ suffix for proper embedding on Telegram #2782

Backlog

Description

@rooshoes

Fx currently embeds the canonical media URL for Bluesky posts when using the /photo/ endpoint, but ever since Bluesky switched to serving webp this has resulted in Telegram clients misinterpreting image embeds as tiny stickers. This is because of Telegram’s historical choice of webp for its sticker ecosystem and its flawed logic to determine whether the user intends to send a sticker based on webp file format alone and not dimensions.

Fortunately, Bluesky provides a fallback URL for all media by simply suffixing “@jpeg” to the media URL. Given the WebP image format’s still lackluster native support on many platforms, I propose that FxEmbed prioritize fetching the more compatible JPG version of all media embeds from Bluesky.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions