Open jimsimon opened 2 days ago
The endpoint https://cardyb.bsky.app/v1/extract?url= is responsible for doing this. Would love to help, but I'm unable to find the source code. Any help will be welcome!
I was also unable to find the source code for that endpoint after some extensive searching.
It's one of the few parts of Bluesky (the video processing service is another) that hasn't been open-sourced.
Steps to Reproduce
Full transparency: I work for Reddit :smile:
Current link card:
Expected link card:
Attachments
No response
What platform(s) does this occur on?
iOS, Android, Web (Desktop), Web (Mobile)
Device Info
No response
What version of the app are you using?
Latest web version as of 11/19/2024, Android app version 1.93.0
Additional Information
I had previously reached out to @haileyok to get the appropriate user-agent being used for link previews so that we could properly allowlist and identify Bluesky's requests. The user agent I was provided was:
but after doing a ton of debugging on our end, it looks like we're getting:
I noticed there have been a handful of other issues opened around link previews, so I figured I'd open an issue here to hopefully resolve this where others can see the answer as well. Could we get confirmation on what the user agent should be? It's not clear if the user agent we're getting is correct or if there is some bug and it's supposed to be the one that Hailey provided. Thanks!