I have followed the installation instructions - GitHub - twitterdev/account-activity-dashboard: Sample web app and helper scripts to get started with the premium Account Activity API & have setup ngrok to tunnel localhost (this is all working fine I am using the ‘free’ version of ngrok currently)

When I go to localhost:5000 OR http://de096xxx.ngrok.io I see the sample Twitter Dev Account Activity Dashboard app and when I try to create a new webhook using the ‘Mange Webhook’ button I get the following error

‘Webhook config unable to be retrieved’ - can anyone explain what I am doing wrong, I have checked the relevant keys are correct, added the callback URI’s to the Twiiter app and we have Premium API access so I am little unsure what I have not done with the setup steps?

(Please note I have changed the URL above for security purposes)

– update –
I have tried to use the console commands to create the webhooks as follows :

node example_scripts/webhook_management/create-webhook-config.js -e beta -u https://de096xxx.ngrok.io

When I run this commands I get a load of json but see this within body of the json - any ideas?
{"errors":[{"code":200,"message":"Forbidden."}]}' }

Not really sure exactly what’s wrong, but i’d make sure your config.json has the right envorinment name set for TWITTER_WEBHOOK_ENV - should be same as the one on https://developer.twitter.com/en/account/environments dev environment label

Also try using the HTTPS ngrok url instead https://de096xxx.ngrok.io maybe?

Twitter have provided us with access to the API for a short period of time - they have given us an account on console.gnip.com - our main Twitter app itself when I am logged in and go the page you just stated - https://developer.twitter.com/en/account/environments

Application Under Review

Thanks! We’ve received your request for API access and are in the process of reviewing it.

So I am kinda confused - is there a Twitter Admin on here that could provide some insight?

I’m confused too. It sounds like you have an Enterprise API account. Do you have an approved standard or premium developer account for Account Activity access?

Thanks for the reply Andy - I am not fully certain I can find out more tomorrow in the office, however when I login to the console.gnip.com interface I can see the following

AccountActivity Webhooks (Dev) with 33 trial days remaining - can you shed any more light on the matter?

Hello @50pence - I’m going to reach out to you via a private message for some identifying information.

1 Like

@andypiper We currently use a Premium account which is a in trial for another 30+ days - the idea is to integrate Premium during the trial then go on to the paid Premium account after the trial is over

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