You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that just using https://public.api.bsky.app/xrpc/app.bsky.actor.getProfile/?actor=[HANDLE / DID] is all that's needed for the required data as JSON, accessible with the keys followersCount and postsCount for the examples I gave above. The usage of the handle key can be used as the username of the account in the badge.
Only main issue I can foresee is handles changing, but that can be resolved by using the DID of the user, which for convenience can be captured at the time with the did key.
🎤 Motivation
More social badges would be helpful, especially for people who operate either solely or majorly on Bluesky over other services. I can see this being used on GitHub accounts' README.md as a social media tie, and generally used as a way to encourage support of developers and projects outside of GitHub, Bitbucket, any other Git repository service, or webpage in general.
As a personal motivation, Bluesky is my only main social media platform I actively use, but I know that the developer presence on Bluesky is generally substantial.
The text was updated successfully, but these errors were encountered:
📋 Description
Mostly as another variation on a social follower/post count badges similar to other services.
Utilizing the static generator for a personal examples:
Possible follower example:
Possible post count example:
I can see some use with a badge for a specific feed as well, but I have not looked into this matter deeply enough to give a confident use case.
🔗 Data
The Bluesky API for this data is publicly available and accessible with no API keys.
The documentation is available on docs.bsky.app as app-bsky-actor-get-profile.
It seems that just using
https://public.api.bsky.app/xrpc/app.bsky.actor.getProfile/?actor=[HANDLE / DID]
is all that's needed for the required data as JSON, accessible with the keysfollowersCount
andpostsCount
for the examples I gave above. The usage of thehandle
key can be used as the username of the account in the badge.Only main issue I can foresee is handles changing, but that can be resolved by using the DID of the user, which for convenience can be captured at the time with the
did
key.🎤 Motivation
More social badges would be helpful, especially for people who operate either solely or majorly on Bluesky over other services. I can see this being used on GitHub accounts' README.md as a social media tie, and generally used as a way to encourage support of developers and projects outside of GitHub, Bitbucket, any other Git repository service, or webpage in general.
As a personal motivation, Bluesky is my only main social media platform I actively use, but I know that the developer presence on Bluesky is generally substantial.
The text was updated successfully, but these errors were encountered: