Skip to content

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

Open
@Abdelmohsin

Description

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."}]}' }

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions