I’ve been experimenting a bit with #Firefox and the #ActivityPub API, inspired by the work of @evan: https://github.com/social-web-foundation/activitypub-browser-extension
-
@pfefferle also - sorry to be greedy - one more piece of feedback.
Currently the extension does not react to viewing URLs that give you content-type application/activity+json (or application/ld+json), raw ActivityPub objects.
Is that a limitation of the Mozilla extensions API?
See here as an example: https://federated.id/actors/8b740680-ccb4-4265-82e7-4ac2ca402750
@mariusor that is very edgy! the idea of the addon is that user have to NOT see JSON output
️but challenge accepted! I will see how I can make it work!
-
@mariusor that is very edgy! the idea of the addon is that user have to NOT see JSON output
️but challenge accepted! I will see how I can make it work!
@pfefferle I realize this is probably a rare use-case, so don't feel pressured to handle it now.
I'll need a brain break at some point in the next weeks and I can take a stab at it then.
-
@pfefferle also - sorry to be greedy - one more piece of feedback.
Currently the extension does not react to viewing URLs that give you content-type application/activity+json (or application/ld+json), raw ActivityPub objects.
Is that a limitation of the Mozilla extensions API?
See here as an example: https://federated.id/actors/8b740680-ccb4-4265-82e7-4ac2ca402750
@mariusor this might do the trick: https://github.com/pfefferle/fedifox/pull/10
-
@pfefferle I realize this is probably a rare use-case, so don't feel pressured to handle it now.
I'll need a brain break at some point in the next weeks and I can take a stab at it then.
@mariusor too late

-
@pfefferle I realize this is probably a rare use-case, so don't feel pressured to handle it now.
I'll need a brain break at some point in the next weeks and I can take a stab at it then.
@mariusor I think I have to do some more testing and will release it in the next few days.
-
@pfefferle I realize this is probably a rare use-case, so don't feel pressured to handle it now.
I'll need a brain break at some point in the next weeks and I can take a stab at it then.
@mariusor thanks a lot for testing and your feedback! (as always
️) -
@mariusor I think I have to do some more testing and will release it in the next few days.
@pfefferle thanx, I'll try to see if I can build the extension locally and do some testing of my own.

-
I’ve been experimenting a bit with #Firefox and the #ActivityPub API, inspired by the work of @evan: https://github.com/social-web-foundation/activitypub-browser-extension
The result is a little Firefox add-on that lets you interact with Fediverse content directly in your browser, without having to copy and paste URLs into search fields:
GitHub - pfefferle/fedifox: Like, share, follow and reply to the ActivityPub object behind any web page from your own fediverse account.
Like, share, follow and reply to the ActivityPub object behind any web page from your own fediverse account. - pfefferle/fedifox
GitHub (github.com)
@pfefferle @evan Just trying this now, from my Fedi-fied WP...
The instructions are as clear as mud, at least to non-techy people, but I think I'm getting somewhere.
in WP Admin>Users>Profile>New Application Password Name - enter a name, hit the Add Application Password button.Your new password for *Name* is *Password*
I then plug these into the Advanced field, along with my username, in FediFox.
It opens a new window, with JSON -code "rest_no_route"
message "No route was found matching the URL and request method."
data
status 404any ideas?
The FediFox icon in my toolbar has turned blue, and has added 2 new options to the bottom, "Note" and "Copy Fediverse link", but it's still asking me to log in. -
@pfefferle @evan Just trying this now, from my Fedi-fied WP...
The instructions are as clear as mud, at least to non-techy people, but I think I'm getting somewhere.
in WP Admin>Users>Profile>New Application Password Name - enter a name, hit the Add Application Password button.Your new password for *Name* is *Password*
I then plug these into the Advanced field, along with my username, in FediFox.
It opens a new window, with JSON -code "rest_no_route"
message "No route was found matching the URL and request method."
data
status 404any ideas?
The FediFox icon in my toolbar has turned blue, and has added 2 new options to the bottom, "Note" and "Copy Fediverse link", but it's still asking me to log in.@mancavgeek @evan I am sorry, this is very early state! you have to enable the ActivityPub API in the advanced settings of your blog: `/wp-admin/options-general.php?page=activitypub&tab=advanced`
-
@pfefferle @evan Just trying this now, from my Fedi-fied WP...
The instructions are as clear as mud, at least to non-techy people, but I think I'm getting somewhere.
in WP Admin>Users>Profile>New Application Password Name - enter a name, hit the Add Application Password button.Your new password for *Name* is *Password*
I then plug these into the Advanced field, along with my username, in FediFox.
It opens a new window, with JSON -code "rest_no_route"
message "No route was found matching the URL and request method."
data
status 404any ideas?
The FediFox icon in my toolbar has turned blue, and has added 2 new options to the bottom, "Note" and "Copy Fediverse link", but it's still asking me to log in.@mancavgeek @evan I am working on enabling the API by default, so that it works out of the box!!!
-
@ethicalrevolution Ah, you tried to connect a Mastodon Account? This does NOT support the Mastodon API, but the ActivityPub API! You can connect your WordPress Blog for example!
@pfefferle @ethicalrevolution If only Mastodon would build upon ActivityPub Api instead of making their own ... Pity.
-
@mancavgeek @evan I am working on enabling the API by default, so that it works out of the box!!!
@pfefferle @evan Cheers!
I now get a log-in page, and after logging in, I get a message "OAuth client not found."
Looks like it's a bit early for me to be testing this, but looking forward to it being finished. -
@pfefferle @evan Cheers!
I now get a log-in page, and after logging in, I get a message "OAuth client not found."
Looks like it's a bit early for me to be testing this, but looking forward to it being finished.@mancavgeek @pfefferle Yeah, I think unless you're going to be actively reviewing and debugging the code, when someone tells you that they're working on experimental software, you should just leave it be.
-
I’ve been experimenting a bit with #Firefox and the #ActivityPub API, inspired by the work of @evan: https://github.com/social-web-foundation/activitypub-browser-extension
The result is a little Firefox add-on that lets you interact with Fediverse content directly in your browser, without having to copy and paste URLs into search fields:
GitHub - pfefferle/fedifox: Like, share, follow and reply to the ActivityPub object behind any web page from your own fediverse account.
Like, share, follow and reply to the ActivityPub object behind any web page from your own fediverse account. - pfefferle/fedifox
GitHub (github.com)
@pfefferle
Great work! That's a really essential tool to use the #Fediverse but will this #Fedifox work for any fedisoftware as far as everything explained in the github is installed ?
@evan -
I’ve been experimenting a bit with #Firefox and the #ActivityPub API, inspired by the work of @evan: https://github.com/social-web-foundation/activitypub-browser-extension
The result is a little Firefox add-on that lets you interact with Fediverse content directly in your browser, without having to copy and paste URLs into search fields:
GitHub - pfefferle/fedifox: Like, share, follow and reply to the ActivityPub object behind any web page from your own fediverse account.
Like, share, follow and reply to the ActivityPub object behind any web page from your own fediverse account. - pfefferle/fedifox
GitHub (github.com)
@pfefferle It works great with onepage.pub! #fedifox #onepagepub I was able to interact with actors and content objects -- follow, unfollow, like, mention, share.
-
@pfefferle sadly sending something with ONI failed, and based on the error the server reported, I think the actor wasn't set in the activity sent by the addon. I'll play with it some more and fill a bug report.
post-activity 400 {"@context":"http://marius.federated.id/ns#errors","errors":[{"status":400,"message":"Can't save 'Create' activity to http://marius.federated.id/outbox: Actor is not valid: is nil"}]}
@mariusor @pfefferle why do you need the actor? You know who it is from the oauth credentials.
-
@pfefferle @evan Cheers!
I now get a log-in page, and after logging in, I get a message "OAuth client not found."
Looks like it's a bit early for me to be testing this, but looking forward to it being finished.@mancavgeek when you tell me which site it is, I can have a look!
-
@mariusor @pfefferle why do you need the actor? You know who it is from the oauth credentials.
@evan because there isn't a place in the spec where an Activity's actor is implied to be optional.
-
@evan because there isn't a place in the spec where an Activity's actor is implied to be optional.
@mariusor @pfefferle it's also not implied to be required!
It's a good note, though. I'll add it as an issue for 1.1.
-
@mariusor @pfefferle it's also not implied to be required!
It's a good note, though. I'll add it as an issue for 1.1.
Is `actor` required for client to server interactions? · Issue #672 · w3c/activitypub
I've always assumed that since the actor is authenticated and posting to their own outbox, the actor property of submitted activities is optional. I was surprised to hear that some people think it's required. We should make it clear whic...
GitHub (github.com)
Ciao! Sembra che tu sia interessato a questa conversazione, ma non hai ancora un account.
Stanco di dover scorrere gli stessi post a ogni visita? Quando registri un account, tornerai sempre esattamente dove eri rimasto e potrai scegliere di essere avvisato delle nuove risposte (tramite email o notifica push). Potrai anche salvare segnalibri e votare i post per mostrare il tuo apprezzamento agli altri membri della comunità.
Con il tuo contributo, questo post potrebbe essere ancora migliore 💗
Registrati Accedi
Citiverse è un progetto che si basa su NodeBB ed è federato! | Categorie federate | Chat | 📱 Installa web app o APK | 🧡 Donazioni | Privacy Policy