Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to do a Webhook connection using Twitter activity Api v2 to create a chatbot and access DM? using BASIC plan. #143

Open
Abdelmohsin opened this issue Nov 13, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@Abdelmohsin
Copy link

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 set 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 Twitter app and we have Premium API access so I am a little unsure what I have not done with the setup steps?

node example_scripts/webhook_management/create-webhook-config.js -e beta -u https://de096xxx.ngrok.io
When I run these commands I get a load of JSON but see this within the body of the JSON - any ideas?
{"errors":[{"code":200,"message":"Forbidden."}]}' }

@Abdelmohsin Abdelmohsin added the bug Something isn't working label Nov 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants
@Abdelmohsin and others