#social 2018-07-07
2018-07-07 UTC
bitbear, timbl, tantek, xmpp-social and pippo joined the channel
# fr33domlover "A node object must be a JSON object. All keys which are not IRIs, compact IRIs, terms valid in the active context, or one of the following keywords must be ignored when processed"
# fr33domlover So can a node object have keys that are blank node identifiers?
# fr33domlover Spec generally suggests that yes (generalized RDF), playground seems to allow that, but that one line omits blanks it seems
# fr33domlover Hmmm JSON-LD 1.1 doesn't seem to change that line either
cwebber2, jeremy, timbl_, vasilakisfil and vasilakisfil__ joined the channel
# ahihi i'm testing my api using mastodon (hosted on someone else's server) and it doesn't show my posts in the toots view. how to debug this?
# ahihi do i need to set up my own mastodon instance to see what it's doing, or is there an easier way?
# nightpool[m] ahihi: what do you mean by "toots view"?
# nightpool[m] hmm. What response are you getting from the server when you post the activities?
# ahihi i only have this outbox so far: https://apub.foldplop.com/_outbox
# ahihi trying to view the existing posts with mastodon by searching my user@host
# ahihi oh..
# nightpool[m] yeah you have to actually send the activities to the server before it knows about them
# ahihi it does seem to fetch the post count from the outbox, so i figured it would take the posts as well
# nightpool[m] nah, that's just so the numbers are correct
# nightpool[m] people love numbers
# ahihi :D
# aaronpk this is relevant to the Mastodon API: https://aaronparecki.com/2018/07/07/7/oauth-for-the-open-web
# ahihi so if someone just looks up my profile (w/o following), how do they get my posts? where do i send the activities?
# aaronpk this post explains it https://blog.joinmastodon.org/2018/07/how-to-make-friends-and-verify-requests/
# ahihi it does show them when i try looking up other users
# ahihi is that just because someone on my instance already follows them?
# ahihi aha alright
# ahihi many thanks
# dansup depends on how the outbox is implemented
# dansup pleroma has inline orderedcollection
# dansup ex: https://pleroma.site/users/pixeldev/outbox
# dansup yeah
# dansup Misskey does the same as pleroma too. https://misskey.xyz/users/57d01a501fdf2d07be417afe/outbox
# dansup inbox notifications for S2S, C2S probably uses outbox more.
# dansup I use outbox to import posts for remote followers that don't exist but that is unlike mastodon or pleroma
# ahihi it says 41K
timbl joined the channel
# nightpool[m] hm/
# nightpool[m] ?
# aaronpk I guess it's this https://www.w3.org/TR/activitypub/#retrieving-objects
# dansup aaronpk: You can add .json to mastodon statuses too. https://mastodon.social/@pixelfed/100331369480345396
# dansup thats correct
# dansup they use the AP method iirc
fr33domlover, fr33domlover1 and fr33domlover2 joined the channel
# nightpool[m] aaronpk: the json urls are just a convenience for debugging
# nightpool[m] ruby handles them automatically with how it handles mime types
fr33domlover3 joined the channel
# nightpool[m] `apcurl ()
{ curl -H "Accept: application/activity+json" "$@" | jq; }
`fr33domlover4 joined the channel
# aaronpk an example of someone confused by not being able to find my post from an instance that was not already following me https://mastodon.social/@xuv/100335631264029001
fr33domlover, fr33domlover1, fr33domlover2, fr33domlover3, fr33domlover4 and timbl joined the channel