bluesky-social / social-app

The Bluesky Social application for Web, iOS, and Android
https://bsky.app
MIT License
8.21k stars 1.1k forks source link

Add a sharing API #2396

Closed aendra-rininsland closed 8 months ago

aendra-rininsland commented 8 months ago

Is your feature request related to a problem? Please describe.

Currently users wanting to share off-site links directly from the page need to do a variety of URL copy/paste actions to get a link into the Bluesky editing interface. Further, offsite content creators who want to "pre-fill" the sharing post's text are unable to do so. This makes it impossible to create off-site sharing buttons, such as you'd have for every other social media.

Describe the solution you'd like

Two APIs:

Describe alternatives you've considered

Prior art:

Of these, X's implementation fulfils the needs of media orgs the best by allowing both prefill text as well as the ability for a shared post be linked to the org's canonical user.

Additional context

I'm a senior developer with Financial Times and need at least the first API I suggested to be able to add "Share on Bluesky" buttons, which I highly suspect we'll want to do this year.

Might be in some ways related to https://github.com/bluesky-social/social-app/issues/66.

pfrazee commented 8 months ago

This is a duplicate of https://github.com/bluesky-social/social-app/issues/1540, and I'm going to copy over your issue as a comment there if you don't mind.