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

AT <=> AP: Pinned posts #1374

Open
qazmlp opened this issue Oct 11, 2024 · 5 comments
Open

AT <=> AP: Pinned posts #1374

qazmlp opened this issue Oct 11, 2024 · 5 comments
Labels
compat Protocol differences that need special handling. parity Features supported by two or more protocols, but not yet bridged between them.

Comments

@qazmlp
Copy link

qazmlp commented Oct 11, 2024

Bluesky has this feature too now, so it would make sense to bridge it back and forth.

ActivityPub documentation

Mastodon: Featured collection
GoToSocial: Featured (aka Pinned) Posts

ATProto lexicon

Bluesky: app.bsky.actor.profile

Example Objects / Records

Mastodon

https://tiggi.es/users/Qazm
https://tiggi.es/users/Qazm/collections/featured

Bluesky

at://did:plc:2shmwstgqmlu4ymg7ctjcdc7/app.bsky.actor.profile/self

Bluesky stores only a single com.atproto.repo.strongRef (to an item in the app.bsky.feed.post collection), so bridging multiple pinned posts to Bluesky may be impossible.

I'm not sure what the best solution is for that, between pinning only the first item in the featured collection, creating a virtual post dated to the latest update that says to view the pinned posts on the original profile, or something in-between. Maybe a post that says something like [Pinned posts: 1 2 3] where each number links to the bridged post 🤔

Note that while Mastodon sends Add/Remove activities to propagate pinning and unpinning (explained in the GoToSocial docs), GoToSocial at least currently doesn't notify of this at all.

@qazmlp
Copy link
Author

qazmlp commented Oct 11, 2024

(Should this be two separate feature requests? It seems much easier to bridge from Bluesky to ActivityPub here.)

@snarfed
Copy link
Owner

snarfed commented Oct 11, 2024

Thanks for filing, and for all the info, this is great!

Bluesky does indeed only support one pinned post right now. Not sure what to do about that yet, but this is a good set of options.

(And just one issue is fine for now! I can split it later if necessary when I actually start on this.)

@qazmlp
Copy link
Author

qazmlp commented Oct 11, 2024

This is probably worth mentioning too:

If I newly bridge an account that already has Public pinned posts, I'd expect them to be bridged retroactively.
I'm pretty certain that's implicit towards ActivityPub with the current system, but I assume the Bluesky direction isn't quite as simple.

@snarfed snarfed changed the title AT <=> AP: Pinned post AT <=> AP: Pinned posts Oct 13, 2024
@Tamschi Tamschi added parity Features supported by two or more protocols, but not yet bridged between them. compat Protocol differences that need special handling. labels Oct 31, 2024
@Tamschi
Copy link
Collaborator

Tamschi commented Oct 31, 2024

The ActivityPub support is a superset of what Bluesky allows in this regard, so I've added both labels.

@lucajet
Copy link

lucajet commented Nov 30, 2024

the possibility to pin a post on bluesky, maybe not even one of those that are pinned on the fediverse account, would be great.

Given bio profile are so short there, I was thinking to pin the most friendly, untechnical, request to follow the bridge i could write in italian

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compat Protocol differences that need special handling. parity Features supported by two or more protocols, but not yet bridged between them.
Projects
None yet
Development

No branches or pull requests

4 participants