Hey, anyone running a WordPress site interested in helping me test a fediverse sharing button plugin before I submit it for review?

https://github.com/stefanbohacek/fediverse-share-button-wordpress/

(EDIT: You can use the "Code" -> "Download ZIP" button.)

Here's more about the project: https://stefanbohacek.com/project/fediverse-sharing-button/

#wordpress #WordpressPlugin #fediverse #SharingButton #SocialMedia #webdev

GitHub - stefanbohacek/fediverse-share-button-wordpress: Let your site's visitors share your work with the fediverse!

Let your site's visitors share your work with the fediverse! - stefanbohacek/fediverse-share-button-wordpress

GitHub
@stefan that button icon doesn't look too right? Is that being auto-discovered via nodeinfo or something?

@thisismissem Yes, basically. I use my own "third party" server that briefly caches the nodeinfo data.

I don't offer it publicly, but it is open-sourced: https://github.com/stefanbohacek/fediverse-info

For the WordPress version of this project, I am also considering bundling everything together, see https://github.com/stefanbohacek/fediverse-share-button-wordpress/issues/4

As for the video, it is a bit out of date. Are the icons looking better when you visit
https://fediverse-share-button.stefanbohacek.dev?

GitHub - stefanbohacek/fediverse-info

Contribute to stefanbohacek/fediverse-info development by creating an account on GitHub.

GitHub
@stefan I'm not sure why default to the mastodon icon:
@thisismissem I think I must've messed something up when refactoring the site recently, I was missing a few icons I *think* I already added before. This is now fixed, thank you for catching it!

@thisismissem Also, note that, as you may or may not know, Pixelfed doesn't, as far as I know, support opening a sharing prompt via URL.

https://stefanbohacek.com/blog/making-fediverse-apps-for-everyone/#sharing-dialog

Making fediverse apps for everyone | Stefan Bohacek

Lessons learned from making apps that play nice with the fediverse.

@stefan I didn't! Was just the first non-mastodon server I could think of πŸ˜•
@thisismissem Yeah, it's a bit disappointing that fediverse platforms are not a bit more compatible. I'd imagine you probably know about AP C2S https://socialhub.activitypub.rocks/t/activitypub-client-to-server-faq/1941 for example?
ActivityPub Client-to-Server FAQ

Context: ActivityPub Client-to-Server (AP C2S) is probably the least understood part of ActivityPub and there is very few documentation and running code for it and ActivityPub is mostly underspecified. This FAQ might be terribly opinionated, I considered pushing it on my own site or https://litepub.social instead but I figured having it more visible and getting easier interactions would be better. Created: 2020-07-21 Last Modified: 2021-07-21 Should I use ActivityPub Client-to-Server? Activ...

SocialHub
@stefan yeah, though how would you ensure C2S data was valid & map that to say Mastodon's internals?

@thisismissem Oh that's beyond my level of expertise to answer.

My point was more about following the same endpoint naming conventions, rather than some platforms copying Mastodon, and some doing it their own way.

I don't even mind some platforms not supporting all the endpoints, in same cases it wouldn't make sense.

But I sure would appreciate consistency.

@thisismissem @stefan as both a client and server dev, i would too. but like. there is no endpoint that would make sense for that on a platform like GotoSocial that doesn't have a single blessed UI.

imo AP really fucked up by not defining its own URL scheme for activities but it's not quite too late to define one for sharing intents