#dev 2023-01-03

2023-01-03 UTC
[timothy_chambe], gRegor, [Tim_Nolte], geoffo, oodani and [manton] joined the channel
#
[manton]
Anyone experiment with sending Mastodon DMs? I can’t seem to get it to work, but my JSON looks basically the same as what Mastodon is sending.
#
aaronpk
IMO mastodon DMs are a losing battle, since the interface in mastodon for it is pretty bad, and AP itself isn't really designed for it either
#
[tantek]
Are those protected posts with an audience of 1?
#
[manton]
Yes, that’s my understanding, and that’s how I’ve coded my side.
#
[manton]
Personally I wish Mastodon didn’t have DMS, but now people expect it.
#
aaronpk
You are not the only one
#
[tantek]
(the same jwz that boosted my tweet)
bterry1 joined the channel
#
IWDiscordRelay
<c​apjamesg#4492> How do dependencies work in PHP?
#
IWDiscordRelay
<c​apjamesg#4492> I want to use https://github.com/indieweb/indieauth-client-php in a project but I'm not sure how.
[marksuth] joined the channel
#
Loqi
[preview] [indieweb] indieauth-client-php: Sample implementation and helper methods for an IndieAuth client.
#
[fluffy]
Mastodon DMs work the same way as “followers-only” posts, which is to say, badly. It abuses the push-first nature of ActivityPub to function.
strugee_ joined the channel
#
[tantek]
a-ha, jwz answered our earlier question about how a POSSE tweet copy ended up in a Mastodon post, and none of us guessed it: https://mastodon.social/@jwz/109624139201711882
#
Loqi
[preview] [jwz] @tantek.com I saw someone RT it on Twitter, not Mastodon... I don't remember who. My Twitter RTs are auto-mirrored here, for now.
#
[tantek]
auto-mirroring Twitter RTs to Mastodon is not something I guessed would be happening
#
[tantek]
I really need to show responses from Mastodon/AP. So many more of them than from Twitter
#
[tantek]
to show them on my post permalinks
barnaby, gRegor, mro and mro_ joined the channel
mro joined the channel
#
@scottmallinson
A lunch break well spent. Managed to _finally_ get webmentions working again by simply changing the microformat structure on my website. The output of microformat parsers can be a little challenging to interpret.
(twitter.com/_/status/1610268270744977410)
#
@scottmallinson
A lunch break well spent. Managed to finally get webmentions working again by simply changing the microformat structure on my website. The output of microformat parsers can be a little challenging to interpret.
(twitter.com/_/status/1610267992532684800)
mro, gerben, tiim1 and [tw2113_Slack_] joined the channel
#
[tantek]
[snarfed], others who use Bridgy Fed, might be worth chiming in here to say the "lazy" option is start with using a service like Bridgy Fed, rather than implementing AP yourself: https://github.com/novoid/lazyblorg/issues/71
#
Loqi
[preview] [novoid] #71 Implement ActivityPub in order to provide an update feed for the Fediverse
#
[snarfed]
"I don't know ActivityPub at all. I would assume that it's a similar format to Atom (which is already implemented): a static text page that contains the most recent articles." 😂
#
aaronpk
haha oh dear are you in for a treat
#
[manton]
Haha. Indeed.
#
@easyaspython
A fresh release of django-webmention 3.0.0 includes compatibility updates for Django and Python, now supporting Django 3.2+ and Python 3.7+. Thanks be to @jamesvandyne for the contribution! https://github.com/easy-as-python/django-webmention
(twitter.com/_/status/1610326407862751238)
#
Loqi
[snarfed] has 60 karma in this channel over the last year (103 in all channels)
#
Loqi
[preview] [snarfed] Feel free to try https://fed.brid.gy/ ! It adds ActivityPub to web sites and blogs as a service.
gRegor joined the channel
#
Loqi
[preview] [IWDiscordRelay] <c​apjamesg#4492> How do dependencies work in PHP?
#
gRegor
Then you can run `composer require indieauth/client` and it will install them in a `vendor` directory
rkta left the channel
#
gRegor
Then in your project, if it's not already: `require __DIR__ . '/vendor/autoload.php';`
#
gRegor
From there you can follow the indieauth-client-php readme
#
gRegor
I'll make a note to update that readme, it should include that^
#
barnaby
IIRC php-mf2 has those steps in the README, if you want something quick to copy+paste
#
gRegor
You don't *have* to use Composer, you could manually include/require the `src/IndieAuth` files, but Composer makes it a lot easier
#
gRegor
Will do, thanks barnaby
#
gRegor
Eh, scratch that manual idea, because then you'd have to also manually include the dependencies.
njmm, [Rose], [chrisaldrich] and tiim joined the channel
#
gRegor
[snarfed], do you have any insight on how long Mastodon profile photos/bio/links are cached? "New" instances following me get the latest but previous ones haven't updated, even after a new post gets delivered to them
#
sknebel
gRegor: afaik profile updates get pushed too, so probably for a looong time
#
sknebel
(because the expectation is that the source will tell them if something changed)
#
gRegor
Makes sense
#
aaronpk
afaik "indefinitely", there is a separate profile update activity you have to send, but then they should update nearly instantly once they receive that
#
[snarfed]
right. BF doesn't currently send Update activities for your profile. it could, but it would need to regularly poll your site
#
[snarfed]
feel free to file an issue!
tiim and geoffo joined the channel
#
[tantek]
Is this enough IndieWeb support to add Elgg to /friendly ? https://chat.indieweb.org/stream/2023-01-03/1672784161735600 thoughts? [benatwork]
#
Loqi
[preview] [Loqi] [indieweb.social/@elgg] #IndieWeb for #Elgg draft is available to testing. One small step to integrate IndieWeb into Elgg 🚀 via https://pw.wzm.me/wall/v/15787 https://github.com/RiverVanRain/indieweb (https://indieweb.social/@elgg/109627578812796...
[schmarty] joined the channel