I want to automate the process of sending webmentions from my site whenever a new post is published. Currently, I have a one line script that does this through Bridgy, which posts a tweet to my Twitter account.
@rem’s webmention.app service has integration with Netlify through the outgoing webhooks feature.
Does this feature work on Basic accounts so that I can add my webmention URL as a hook and it will activate when the deploy succeeds?
Good to know this is something that can be done, even on the free tier. However, in talking with Remy - who runs the service - hooks configured like this don’t seem to be working as expected.
My hook looks like the following and for this to work Netlify needs to send a POST request in order for Bridgy to get what it needs on the other end.
So, the problem isn’t so much that Netlify isn’t triggering a build – but rather, webmention isn’t able to read the RSS?
Unfortunately, I don’t know an awful lot about webmention. What I do know is that removing the &limit=1 parameter from the URL returns OK and it works just fine on Automate your outgoing webmentions too.
Yep. Builds are fine, it’s the other end of this that’s acting strange. The parameter is there because of rate-limiting concerns.
Including a token in your requests allows you to avoid rate limits on requests. The anonymous requests are currently limited to once per 4 hours per unique URL.
Usage of our webhooks is well documented. We can prove that the webhook is working as expected (see Automate your outgoing webmentions) so, at this point, I would be looking to the operator of that service to investigate