Issue Authenticating for Webhook registration


#1

I’m trying to register my webhook for the account activities API, but for some reason, I keep getting error 32 when trying to do so. When using the exact same set of tokens in Postman for a different part of the API like posting a tweet there’s no issue, but specifically, when I send a post request to https://api.twitter.com/1.1/account_activity/all/prod/webhooks.json it returns that error. It even allows me to view my (albeit empty) list of registered webhooks when I get https://api.twitter.com/1.1/account_activity/all/webhooks.json. Before someone asks, I do have a dev environment registered.


I’d really appreciate if someone could help me with this issue. For reference, my app id is 16031946.


#2

Hi @Alec2435, it looks like your account is set up and everything checks out with your app. I think you probably haven’t secured your webhook:

Review Step 3 here: https://developer.twitter.com/en/docs/accounts-and-users/subscribe-account-activity/guides/getting-started-with-webhooks

Make sure you’ve set up your webhook correctly: https://developer.twitter.com/en/docs/accounts-and-users/subscribe-account-activity/guides/securing-webhooks

Please review these docs and make sure your webhook is able to return the correct response_token, and let me know how it goes.

Hamza


closed #3

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.