#wordpress 2023-06-27

2023-06-27 UTC
doug_c_im, gRegor, RasAlGhoul, [timothy_chambe], me4, [tw2113_Slack_], adamz[m], [Jo], [capjamesg] and [Serena] joined the channel
#
[Serena]
Hi hi, coming out from months of inactivity again)
#
[Serena]
In the past, I post on Wordpress using the Wordpress site and I check the "Syndicate to" checkbox to get my post sent to Twitter/Mastodon etc.
#
[Serena]
But recently I've been trying to reduce the friction of posting (eg. using Drafts app or Shortcuts app and posting using Micropub).
#
[Serena]
My question is, when I publish using Micropub, would a webmention be sent to get the post pushed to Mastodon etc?
#
[Serena]
For reference, this is the Shortcuts I used to post via Micropub: https://cagrimmett.com/development/2023/02/12/ios-shortcut-actions-for-micropub-posting/
#
[Serena]
As in, is it supposed to? Because right now I post using Micropub and nothing gets sent to Mastodon.
gRegor and doug_c_im joined the channel
#
[snarfed]
^ cc GWG
#
GWG
Hi, [Serena].
#
GWG
[Serena]: There's a Syndication log box on the post... what does it say?
#
[snarfed]
oh [Serena] you probably need to tell your Micropub client to syndicate to Bridgy
#
[snarfed]
(ie it would add mp-syndicate-to[]=bridgy to its request)
gRegorLove_ and doug_c_im joined the channel
#
[Serena]
hmm, and now when I try publishing on the Wordpress site and checking the "Mastodon by Bridgy" checkbox, it doesn't push to Mastodon and I see this in the Sydnicate Logs:
#
[Serena]
```{
#
[Serena]
"error": "unauthorized",
#
[Serena]
"error_description": "No publish user found with that token"
#
[Serena]
"body": {
#
[Serena]
},
#
[Serena]
"code": 401,
#
[Serena]
"url": ""
#
[Serena]
}```
#
[Serena]
I don't know what did to break that...
doug_c_im joined the channel
#
GWG
[Serena]: Where did you get your mastodon token?
doug_c_im joined the channel
#
GWG
[snarfed]: Is there something I could do when saved to validate the token?
doug_c_im and [benatwork] joined the channel
#
[snarfed]
GWG not yet, but that's a great feature request, feel free to file it!
#
GWG
[snarfed]: Token introspection?
#
[snarfed]
we should also confirm that [Serena] has actually entered a token? I assume the plugin checks for that?
#
[snarfed]
token introspection sure, sounds like a good feature request
#
Loqi
yea!
doug_c_im joined the channel
#
GWG
[snarfed]: It checks for non-empty, yes
#
GWG
Is there a length?
#
[snarfed]
nah it'll differ by silo, it's each silo's access token
#
[snarfed]
GWG do you trim the token for leading/trailing whitespace? the error ^ said the token wasn't found, I wonder if that's the reason
#
GWG
[snarfed]: I thought I did,. but I'd better check
#
GWG
This is Micropub... I think the disable only checks in the UI...let me diagnose
#
[snarfed]
[Serena] could you also check which version of the wordpress plugin you're using? and check that that error is definitely from Mastodon, and not eg Twitter?
doug_c_im joined the channel
#
[snarfed]
also [Serena] what's your mastodon handle?
#
[snarfed]
(or web site?)
doug_c_im and [jacky] joined the channel