-
-
Notifications
You must be signed in to change notification settings - Fork 918
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
FEP-3b86 #5453
Comments
Sorry, RUST. I’m not a RUST developer either. Edited. :) |
Not sure which other endpoints there are, at least {
"rel": "https://w3id.org/fep/3b86/Create",
"href": "https://example.com/create_post?title={name}&body={content}"
}, In this case there is no param for |
Hey, thanks for taking a look at this! Implementing inbound shares activities should be straightforward, and definitely SHOULD NOT require new endpoints. For If Lemmy requires a URL separate from the content, we should probably update the FEP. |
I spose this is about the webfinger actions for persons and groups: https://github.com/LemmyNet/lemmy/blob/main/crates/routes/src/webfinger.rs#L96 |
@dessalines - You're exactly right. Thanks for finding that in the code :) Without adding extra functionality to Lemmy, you could update this WebFinger response to include links to Lemmy endpoints that "share" or "like" external pages. That would be the easiest thing to do, and a big step forward for interop. Down the road, Lemmy might also add Activity Intent buttons on its own pages, with "follow", "share" or "like" buttons that help un-authenticated users get back to their home servers to continue interacting with pages hosted by Lemmy. I have this working on https://bandwagon.fm as a proof-of-concept, and am working to refiine the UX and DX of the whole process. |
The FEP lists a lot of intents that would be pointless or don't apply for us. So we'd have to handle which ones are useful, case-by-case. |
Yes. Here's my (rough) project plan. I can flesh this out if it would be helpful:
|
|
Requirements
Is your proposal related to a problem?
FEP-3b86: Activity Intents is a small change to the data published by WebFinger that would improve how Lemmy connects to other Fediverse servers.
Describe the solution you'd like.
Implementing this FEP is as simple updating WebFinger results to include the URLs that let website visitors perform Activities on their own server (such as
Follow
,Like
, orAnnounce
). Then, other websites can use this information to display interactive buttons to take those actions.Describe alternatives you've considered.
Activity Intents is similar to the old oStatus "remote follows" but it is 1) works for any kind of Activity, not just
Follow
, and 2) has actual documentation instead of linking to a Chinese gambling site.Additional context
Activity Intents make it possible for a remote server to display (for example) "Share" or "Like" buttons that lets Lemmy users interact with the remote pages using their home Lemmy account.
This is an easy addition that helps connect the social web together, in more ways than just through their timeline.
I am not a Rust developer, so I probably shouldn't try to make this change to Lemmy myself, but I'm happy to work with anyone who's interested in making this enhancement.
The text was updated successfully, but these errors were encountered: