BrowserPub: A browser for debugging #ActivityPub and the ⁂fediverse
-
John Spurlockreplied to Joe Harris Scharf last edited by
@scharfnado you bet!
let me know if a particular url or input doesn't seem to render properly
-
@js Visual representation doesn't seem to really work for Mbin (software I'm replying from right now), I wonder why
-
Joe Harris Scharfreplied to John Spurlock last edited by
@js I was testing it with a gotosocial instance - GtS requires signed requests, and gave an error when I tried to access it via bp. Not sure if you've implemented that yet (and could be on my end too):
Error:
{
"error": "Unauthorized: http request wasn't signed or http signature was invalid: (verifier)"
}
/error: No type def found
{"kind":"not-found","reason":"unsupported input"} -
John Spurlockreplied to Joe Harris Scharf last edited by
@scharfnado it does do signing if it thinks it's necessary (e.g. for Threads)
shoot me over the url that gave you that Unauthorized error and I'll take a look
-
@Fitik thanks, I'll take a proper look tomorrow
looks like it came across a context it hasn't seen before, I found this for you when I hit debug
I try to inline most of the common fediverse json ld contexts, so I probably just need to add that one
-
@js Okay, no problem, thank you for making this!
-
@js Interesting. I'm trying to figure out why my Threads account has correct numbers for outbox, followers, and following, but none of the individual items are returned. Seems like a problem on the Threads side.
-
Jasdemi :fediverse:replied to John Spurlock last edited by
@js @scharfnado
Getting the same error message when my #GoToSocial. You can use https://jasdemi.com/ for testing. -
Jupiter Rowlandreplied to John Spurlock last edited by@John Spurlock Rather unexpectedly, it even works with Hubzilla and (streams) channels, including (streams) channels on newer accounts with FEP-ef61 support.
It's just a pity that it absolutely has to run through Cloudflare.
#FediMeta #FediverseMeta #CWFediMeta #CWFediverseMeta #Hubzilla #Streams #(streams) #FEP_ef61 #CloudFlare -
John Spurlockreplied to Jupiter Rowland last edited by
@jupiter_rowland in theory, the more rich the standard ActivityPub a server implementation produces, the better it should look in BrowserPub. Let me know if there's some AP data that you're publishing that it's missing
I would like to figure out a better way to render the Hubzilla proofs and assertions, that's on the list
-
John Spurlockreplied to Jasdemi :fediverse: last edited by
thanks! will test with yours as well
-
the ActivityPub data model is very flexible, servers can support as much or as little as they want
in Threads case, they include the standard AP properties for outbox, followers, following, but link to a basic object that includes the counts only!
Hopefully we'll see this improve in the future
can see this yourself by using BrowserPub
1. browse to your profile
https://browser.pub/https://www.threads.net/@localjo2. click the 'json' tab
3. click one of the collection value like 'following' (they are links)
-
just pushed an update that should handle this new context
@[email protected] · BrowserPub · A browser for exploring ActivityPub and the fediverse
Explore the open social web through the lens of ActivityPub and the fediverse.
(browser.pub)
btw I don't think that fedia context is valid, it should instead look like this
-
Those examples were helpful - just pushed an update to render these better
profile: https://browser.pub/https://jasdemi.com/users/jasdemi
post: https://browser.pub/https://jasdemi.com/@jasdemi/statuses/01J61PQ93HEHF0NE9A2DCWFFDX
-
including video! this is all based on spec-standard ActivityPub
-
-
the custom jsonld document at https://fedia.io/contexts should look like that image above, not a flat array as exists there now (attached, formatted)
-
Thanks, got it. I think we try do that in the code now: https://github.com/MbinOrg/mbin/blob/bee8659f4522ab70c71e4f0692b26224e96099f3/src/Entity/Contracts/ActivityPubActivityInterface.php#L18
But I believe this array is getting destroyed by PHP when using
array_merge
at line 22 here: https://github.com/MbinOrg/mbin/blob/bee8659f4522ab70c71e4f0692b26224e96099f3/src/Service/ActivityPub/ContextsProvider.php#L22 -
-