#dev 2023-12-15

2023-12-15 UTC
#
angelo
i receive a 200 with the HTML for their 404 whether i sign or not
#
[snarfed]
interesting
#
[snarfed]
and you're including an Accept header with AS2 conneg?
#
angelo
i am using Accept:application/activity+json -- lines 36-85 includes the request and the same patch to httpsig you have in your fork: https://ragt.ag/code/projects/webint-owner/files/webint_owner/__init__.py
#
Loqi
[preview] Angelo Gladding
#
c​apjamesg
You can link to lines!
#
angelo
thanks snarfed. i'm seeing a couple of differences.
#
[tantek]
fascinating, the full content of a Threads post is in the HTML in the meta property="og:description" looks like, at least on the Adam M. post announcing their support for federating out
#
[tantek]
that should mean that a metaformats parser should be able to pick up the full content
#
Loqi
Ok, I'll tell them that when I see them next
#
[tantek]
!tell capjamesg as promised, next steps for your "simple" auto-text UI is to make it into a very minimal notes posting client for Micropub:
#
[tantek]
1. add a "Sign-in" button which when clicked does an IndieAuth relying party flow (see Web Sign-in page for sample UX)
#
[tantek]
2. if sign-in was successful, change the "Sign-in" button to an "Enable Micropub" button, which, when clicked, does Micropub server discovery on the aforementioned IndieAuth URL, and attempts getting Micropub client publishing (create) permission,
#
[tantek]
3. if permission was granted, change the "Enable Micropub" button to a "Publish" button, which when clicked, publishes the value of the text field as a note via Micropub
#
[tantek]
I believe aaronpk has a short video presentation about how to do implement this flow quickly
[chrisaldrich], bret, eitilt, geoffo, AramZS and strugee joined the channel
#
Loqi
[preview] Building a personal predictive text engine
#
c​apjamesg
Not sure if that is a Gift Calendar thing 😄
#
[tantek]
It definitely counts as a gift calendar thing because you released the open source for other IndieWeb developers to add it to their own site!
#
[tantek]
And link to your blog post from the calendar square obv
#
[tantek]
Put it before the existing 🎁 with an <hr/> between
#
c​apjamesg
Let me know how that looks.
#
c​apjamesg
🤦
#
c​apjamesg
I'm confused.
#
sknebel
looks ok now
#
[tantek]
No, put the 🎁 back!
#
[tantek]
don't delete an existing 🎁 unless it's one you put there to replace
#
c​apjamesg
Done.
#
[tantek]
It's a 🛠 entry not a 📜 entry because the gift is the code, not the blog post. The blog post is "about" the gift
#
[tantek]
One last nit, since you "unwrapped" your gift first, put it *before* the existing 🎁
#
[tantek]
They're roughly by time order within the day
#
[tantek]
I should document that detail.
#
Loqi
I agree
#
[tantek]
And then the link text should be the thing, not the blog post title
#
[tantek]
Eg: AutoWrite personal predictive text engine
#
[tantek]
Then a stylistic suggestion, so the emoji doesn't get left behind on the line by itself
#
c​apjamesg
Can you do it? I'm very confused by this.
#
[tantek]
Which step is confusing?
#
[tantek]
Each of those fixes above is incremental and they can be done in any order
#
[tantek]
Except fix your s/ 📜 / 🛠 before the nbsp fix obviously :)
geoffo joined the channel
#
aaronpk
hm i'm just getting a redirect "unsupported browser" when trying to follow a threads.net user from my site
[Murray] and [manton] joined the channel
#
[manton]
If you missed the scrollback yesterday, the thing that tripped me up is Threads does require HTTP signatures.
#
aaronpk
yeah it's making a signed request
#
[manton]
And you’re trying for a supported account like mosseri?
[schmarty] joined the channel
#
[schmarty]
time to try on different user-agent strings 🎭
#
aaronpk
guess i can try to send what bridgy sends
#
[manton]
I usually send a user-agent of http://Micro.blog, but actually in this case I forgot to set it, so it’s probably being sent as “ruby” or something like that.
#
aaronpk
hm still no luck
#
[manton]
Wonder if Threads is picky about the signatures in some way that Mastodon isn’t.
#
aaronpk
probably
[snarfed] joined the channel
#
[snarfed]
aaronpk which request is returning unsupported browser for you? the inbox delivery POST?
#
aaronpk
no just fetching the profile
#
aaronpk
to discover the inbox
#
[snarfed]
ok. yeah oddly many people are seeing the same problem. but many others are working ok. 🤷
#
aaronpk
ok weird, when I try this in a more isolated code example it works
#
aaronpk
ohhh wait it's not the AP request that's failing, it's the webfinger request
#
aaronpk
webfinger--
#
Loqi
webfinger has -5 karma in this channel over the last year (-7 in all channels)
#
aaronpk
does this mean they implemented AP without webfinger?
#
aaronpk
ok progress.... now the actual follow request to the inbox is being rejected
#
angelo
aaronpk do you know what you changed in your isolated code example?
#
aaronpk
no, and i'm only half paying attention right now too
geoffo and [KevinMarks] joined the channel
#
[snarfed]
they're definitely serving webfinger. again, I've only seen three accounts so far - mosseri, 0xjessel, christophersu - but it's working for me in both curl and BF
#
aaronpk
guess i should look at what is being signed
#
[manton]
I got a reply from christophersu on Threads too, saying they will improve the HTTP status codes. Slow rollout makes sense but can definitely make troubleshooting confusing.
#
[manton]
I’d be really curious how much ActivityPub traffic Threads is already generating across the fediverse.
#
aaronpk
yeah i don't know what i'm doing wrong
#
aaronpk
[snarfed] or [manton]: do you have an example of the Follow request you're sending somewhere?
#
aaronpk
i havent touched this ActivityPub code in several years so I might be out of date with the current version of mastodon and relying on some sort of mastodon backcompat at this point
#
[manton]
Not readily available but I can dig something up. Actually, I haven’t 100% confirmed that following is working. I just assumed it was after I discovered the user, need to double-check the responses.
#
aaronpk
that's so weird, i'm getting a 200 response but it's full of HTML
#
[snarfed]
to which request? inbox delivery of your Follow?
#
aaronpk
if i don't include the httpsig then I get an HTTP 400 error and the HTML page says "5xx server error" 😂
#
aaronpk
but interestingly if i include an invalid signature i get the same 200 response and full HTML page
#
[snarfed]
interesting indeed. I got 200 with Content-Type: application/activity+json; charset=utf-8 back
[aciccarello] and [tantek] joined the channel
#
[tantek]
APwithoutWebfinger++
#
Loqi
APwithoutWebfinger has 1 karma over the last year
[bjoern] joined the channel
#
GWG
capjamesg: Have an on topic question for you. Ticketing + Social WG... thoughts?
geoffo joined the channel
#
GWG
I need to fix photo updates for Micropub for WordPress during my next round of attention on that...
#
GWG
aaronpk: Is there a way for OYS to convert Swarm likes to website likes?
bret joined the channel
#
aaronpk
what is a website like?
#
GWG
aaronpk: As in, map Swarm users to their Indieweb sites if applicable?
#
GWG
I just had one
CRISPR joined the channel
#
aaronpk
it does that if they are also an ownyourswarm user
#
aaronpk
if not, then it's too noisy, because people put all sorts of things in their website field on social networks and it becomes a mess
#
[tantek]
^ that's a good filter
bret_ and geoffo joined the channel
#
GWG
aaronpk: Okay, that explains the person who liked me not being transformed
#
GWG
I always get a lot of thoughts because I usually only use OwnYourSwarm as a travel report generator. Need a check-in Micropub app that can query my venue database. IndiePass used to, but I need to figure out what happened and maybe file a bug report if it isn't on my side