syndication-links icon indicating copy to clipboard operation
syndication-links copied to clipboard

`mp-syndicate-to[]=bridgy-fed` works for likes and reposts but not replies

Open snarfed opened this issue 1 year ago • 1 comments

I'm seeing an odd bug recently where syndicating to Bridgy Fed works for likes and reposts, but not replies. This definitely used to work, so I suspect it only broke recently. Maybe due to the Oct 1 release of Synd Links?

Here are logs from a reply and then a like. Note that the like sent a webmention, but the reply didn't.

[21-Nov-2023 20:17:40 UTC] Micropub Input: {"type":["h-entry"],"properties":{"name":["snarfed.org"],"mp-syndicate-to[]":["bridgy-fed"],"category":["reply"],"content":[{"html":"<p>is that so<\/p>\n"}],"in-reply-to":["https:\/\/snarfed.org\/2023-09-19_50963"]}}
[21-Nov-2023 20:17:40 UTC] wp_insert_post with args: {"post_title":"snarfed.org","post_name":"0","post_category":[23],"tags_input":[],"post_content":"<a class=\"u-in-reply-to\" href=\"https:\/\/snarfed.org\/2023-09-19_50963\"><\/a>\n<div class=\"e-content\">\n<p>is that so<\/p>\n\n<\/div>","post_type":"post","tax_input":null,"meta_input":{"micropub_auth_response":{"client_id":"https:\/\/snarfed.org\/w\/wp-admin\/","client_name":"indie response Firefox extension","client_icon":"https:\/\/secure.gravatar.com\/avatar\/947b5f3f323da0ef785b6f02d9c265d6?s=96&d=blank&r=g"},"mf2_type":["h-entry"],"mf2_category":["reply"],"mf2_content":[{"html":"<p>is that so<\/p>\n"}],"mf2_in-reply-to":["https:\/\/snarfed.org\/2023-09-19_50963"]},"post_author":1,"post_status":"publish"}
...
[21-Nov-2023 20:19:13 UTC] Micropub Input: {"type":["h-entry"],"properties":{"content":["snarfed.org"],"name":["snarfed.org"],"mp-syndicate-to":["bridgy-fed"],"category":["like"],"like-of":["https:\/\/snarfed.org\/2023-09-19_50963"]}}
[21-Nov-2023 20:19:13 UTC] wp_insert_post with args: {"post_title":"snarfed.org","post_name":"0","post_category":[27],"tags_input":[],"post_content":"<p>Likes <a class=\"u-like-of\" href=\"https:\/\/snarfed.org\/2023-09-19_50963\">https:\/\/snarfed.org\/2023-09-19_50963<\/a>.<\/p>\n<div class=\"e-content\">\nsnarfed.org\n<\/div>","post_type":"post","tax_input":null,"meta_input":{"micropub_auth_response":{"client_id":"https:\/\/snarfed.org\/w\/wp-admin\/","client_name":"indie response Firefox extension","client_icon":"https:\/\/secure.gravatar.com\/avatar\/947b5f3f323da0ef785b6f02d9c265d6?s=96&d=blank&r=g"},"mf2_type":["h-entry"],"mf2_content":["snarfed.org"],"mf2_category":["like"],"mf2_like-of":["https:\/\/snarfed.org\/2023-09-19_50963"]},"post_author":1,"post_status":"publish"}
[21-Nov-2023 20:19:15 UTC] Success: {"headers":{},"body":"Added webmention task projects\/bridgy-federated\/locations\/us-central1\/queues\/webmention\/tasks\/8703849732879693962 : {'source': 'https:\/\/snarfed.org\/2023-11-21_snarfed-org-6', 'target': 'https:\/\/fed.brid.gy'}","response":{"code":202,"message":"Accepted"},"cookies":[],"filename":null,"http_response":{"data":null,"headers":null,"status":null}}

snarfed avatar Nov 21 '23 21:11 snarfed

Hmm. Looked more at this and it might be user error. Will report back soon.

snarfed avatar Nov 27 '23 16:11 snarfed

@snarfed Bump?

dshanske avatar May 12 '24 08:05 dshanske

Yes! This was indeed user error.

snarfed avatar May 12 '24 12:05 snarfed