Goodbye comments, welcome Webmentions πŸ™‹πŸΌβ€β™‚οΈ

Finally, I made the switch to Webmentions, not because I hated comments, but it just didn't serve the platform.

You might be wondering, what is he talking about?

Let me explain in some more detail.


What are Webmentions?

Webmentions are an open standard for a reaction to a thing on the web. It's currently in W3C recommendation status.

So when you link to a website, you can send a Webmention to notify that website.

You can almost compare it to pingbacks! You know from back in the days.

But Webmentions are way more awesome, since they can contain data!

For instance, the data in a Webmention can be: likes, repost, comments, or other stuff.

So how do these Webmentions work?

In basic web mentions work like this:

  1. I write about Webmentions on this site.
  2. Then Rey will write about Webmentions on his site, but links to my article
  3. Rey's publishing software will now send a Webmention to my website
  4. My software checks that there is actually a link, and will include Rey's Webmention on my site!

In my case, you will see a lot of Webmentions from Twitter if you tweet and include a link to one of my articles!

How do I get Webmentions on my site?

Of course, this is the million-dollar question, and there are a couple of steps to it.

  1. Host a Webmention endpoint or use a third party like is a free service made by the amazing indieweb hero Aaron Parecki. Check him out!

  1. Sign in on using their IndieAuth process

  2. You will now get two links you need to include in your head

<link rel="pingback" href="">
<link rel="webmention" href="">
  1. Find a service that connects these Webmentions. Bridgy is an amazing service that turns your social mentions in Webmentions!

  2. Bridgy will now analyze our tweet and, if found, send a Webmention to our endpoint. One of these entries will look like this:

    "type": "entry",
    "author": {
        "type": "card",
        "name": "Ido Shamun",
        "photo": "",
        "url": ""
    "url": "",
    "published": "2020-09-13T10:59:37+00:00",
    "wm-received": "2020-09-14T07:00:42Z",
    "wm-id": 851613,
    "wm-source": "",
    "wm-target": "",
    "content": {
        "html": "Thank you! 🀩\n<a class=\"u-mention\" href=\"\"></a>\n<a class=\"u-mention\" href=\"\"></a>",
        "text": "Thank you! 🀩"
    "in-reply-to": "",
    "wm-property": "in-reply-to",
    "wm-private": false

Ok, cool, now what?

So yes, we now have Webmentions coming in, and our sites accepting them, but how do we go about showing them?

Well, comes with a fantastic API we can leverage.

Getting all Webmentions for our domain

We can run the following query to get all Webmentions for our domain:

curl --location --request GET '{DOMAIN}&token={TOKEN}'

The domain will be:, for instance. And the token you can get from

Get Webmentions for specific URL

We can also use the public endpoint to get all Webmentions for one specific URL.

curl --location --request GET ''

as swyx points out the ending slash is very important!

We can then use JavaScript to show these on our website.

I'll write another article on how to integrate them for an Eleventy static blog fully!

Feel free to try them out and tweet about this article

Thank you for reading, and let's connect!

Thank you for reading my blog. Feel free to subscribe to my email newsletter and connect on Facebook or Twitter

Peter Thaleikis's photo

Awesome, love the idea behind webmentions but haven't really got around to implement it. Max BΓΆck got me excited first.

Chris Bongers's photo

Max is amazing when it comes to indieweb and implementing all these things!

Peter Thaleikis's photo

Yeah, I love the insides he is sharing and the way he writes. Makes reading it fun

Aman Tyagi's photo

Oh yeah! This really seems a cool thing, Thanks for sharing it with us Chris, I definitely try this out....

Chris Bongers's photo

So far they seem very amazing πŸ‘€

Tapas Adhikary's photo

Surely something to try out.. Thanks for sharing, Chris!

Chris Bongers's photo

Webmentions are really cool, can't wait till Hashnode supports them.