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

add Bluesky support (#2302) #2303

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

ibnaleem
Copy link

Added Bluesky (bsky.app) to data.json.

@ibnaleem ibnaleem mentioned this pull request Sep 25, 2024
1 task
Comment on lines +2803 to +2805
"errorMsg": "<title>@{} — Bluesky</title>",
"errorType": "message",
"url": "https://bsky.app/profile/{}.bsky.social",
Copy link

@jasontenpenny jasontenpenny Oct 7, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure this is going to work super well. If the user doesn't have a display name, I think the title of the page will match this even if the user exists. It might be better to use the status_code errorType and then specify the actual API call that looks up the user. That should respond with a 400 if the user doesn't exist. The API call would be https://public.api.bsky.app/xrpc/com.atproto.identity.resolveHandle?handle={}.bsky.social

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @ibnaleem before I run through things do you have any thoughts here?

@ppfeister ppfeister linked an issue Nov 1, 2024 that may be closed by this pull request
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Bluesky
3 participants