Help,
I’m new to the apis and I’m unable to attach the webhook to my app, although I have no trouble querying for the webhooks and calling VerifyCredentials. I consistently see a response of
{"errors":[{"code":200,"message":"Forbidden."}]}
Am I misconfigured in some way? or is there a policy preventing this from working out of the box?
I’m POSting to something like:
https://api.twitter.com/1.1/account_activity/all/env-beta/webhooks.json?url=https%3A//hillcity-staging.notify.io/twitter/gap/hillcity/
For the environment name, I’ve tried many options (env-beta, NotifyDev, :env_name). I’m using the python-twitter module, raw requests, twurl, but with no luck.
A GET on https://api.twitter.com/1.1/account_activity/all/webhooks.json gives me the expected results:
{"environments":[{"environment_name":"NotifyDev","webhooks":[]}]}
App ID: 15812889
App Name: “Notify.io Test Bot”
Owner: @notifyio
Owner ID: 971468619925266432
Dev Environment Label: NotifyDev
Context: My goal is to port one of our chatbots to the platform and send and receive Direct Messages (DMs) and Quick Replies.
Thanks,
/charles thayer
(cc @KyleW)