Webhooks not working

  • Unknown's avatar

    Hey, I’m trying to connect my blog to a discord server using Webhooks but I’m not sure why nothing is posting. I’ve made a few posts and nothing has come through in the hours since they were published but I’m sure I set them up correctly. Could anyone help me?

    The blog I need help with is: (visible only to logged in users)

  • Hi there,

    If you tell us what the webhooks are supposed to be we can check if you’ve set them up correctly on our end. But we don’t have any information on what Discord requires in this regard, so please contact them directly to make sure what webhooks they need to post your site to their service.

  • Unknown's avatar

    The webhooks are meant to send a message onto a Discord server when a post is published. Discord creates a webhook link to a channel in a server and WordPress asks for a link, so I set it to the Discord Channel link and told it to run each time a post a published and use the post_title, post_content and post_link variables.

  • Right, what we’d need to know, however, is what should be added on WordPress.com end so we can check it.

    As @kokkieh mentioned, we don’t have any information on what Discord requires so it’s difficult for us to advise.

  • Unknown's avatar

    Well that’s just it, supposedly, it should work out of the box. Discord provides the webhook URL that WordPress sends the HTTP POST data to and Discord creates the message from those. Theoretically, it should all work just fine when putting the URL in.

  • Ah, I see. It might be worth contacting Discord then. If there’s anything that should be done on our end, let us know and we’ll have a look.

  • The topic ‘Webhooks not working’ is closed to new replies.