snarfed / bridgy

📣 Connects your web site to social media. Likes, retweets, mentions, cross-posting, and more...
https://brid.gy
Creative Commons Zero v1.0 Universal
703 stars 52 forks source link

Mastodon doesn't support type(s) h-card, or no content was found. #1603

Closed justincox closed 8 months ago

justincox commented 8 months ago

I'm confused. Brid.gy is running and synced to my website. Mentions from Mastodon are showing in the Brid.gy dashboard, but they're reporting no webmention targets. I modified my site theme to include the h-card properties, which are validated by https://indiewebify.me. Yet, when I go back to brid.gy, I get the error: Mastodon doesn't support type(s) h-card, or no content was found. What am I doing wrong?

snarfed commented 8 months ago

Looks like it's sent at least a handful of webmentions! For example, the one currently at the top of https://brid.gy/mastodon/@justin@holonet.social . Sent 2023-11-06 20:48:47 UTC, source https://brid.gy/repost/mastodon/@justin@holonet.social/111335888674388137/110655994396525979, target https://justincox.com/blog/2023/11/write-now-with-lauren-roberts/ , to your webmention endpoint https://justincox.com/webmentions/receive/ , which returned HTTP 202.

I expect Bridgy didn't do anything for most of the other responses because it needs a way to connect each post on Mastodon to its corresponding post on your web site: https://brid.gy/about#link%20to%20your%20web%20site

snarfed commented 8 months ago

As for the doesn't support type(s) h-card error, it sounds like you were entering your site into the publish form. That cross-posts from your site to Mastodon, while backfeed sends replies, likes, reposts etc from Mastodon back to your site. Separate features.

Sorry for the confusion. Happy to answer any other q's!

justincox commented 8 months ago

I see the pieces in there now as processing. You shared the link to your website FAQ. Is there an issue with my links? Mastodon points to the website and vice versa. Is Brid.gy not seeing the connection?

snarfed commented 8 months ago

It's not enough for your Mastodon profile to link to your web site or vice versa. Bridgy needs to know which specific post on your site matches which specific post on Mastodon. You can do that for either by including a link inside the Mastodon post to the original post on your site, which you did with eg https://holonet.social/@justin/111335888674388137 , or by including a syndication link on the original post that points to the Mastodon copy. The FAQ link I posted has more details.

justincox commented 8 months ago

Ahh. Got it. I missed the part about the 50 recent posts and "re-discovered" posts from last week with links. I think it's working now since it's showing "sent." Thank you for the help and clarifications.

snarfed commented 8 months ago

Welcome! Tentatively closing.