super-ienien / twitter-webhooks

Easy to use expressJs middleware for twitter webhooks api
MIT License
20 stars 3 forks source link

Can't register my webhook url #11

Closed mp1714 closed 4 years ago

mp1714 commented 4 years ago

Hi, I'm having an issue while registering my webhook url. Those are my settings:

const userActivityWebhook = twitterWebhooks.userActivity({
    serverUrl: 'MY_URL',
    route: '/webhooks/twitter',
    consumerKey: process.env.CONSUMER_KEY,
    consumerSecret: process.env.CONSUMER_SECRET,
    accessToken: process.env.ACCESS_TOKEN_KEY,
    accessTokenSecret: process.env.ACCESS_TOKEN_SECRET,
    environment: 'dev', //default : 'env-beta'
    app,
});

I have the server on heroku, the tokens and keys are ok, I double-check. And the server is up and running fine. Maybe I'm missing something?

Thanks in advance

super-ienien commented 4 years ago

Hi,

Your url is not reachable : https://twitter--server.herokuapp.com/webhooks/twitter?crc_token=test

Do you have other routes configured on your express app ?

mp1714 commented 4 years ago

Hi,

I had an issue with my server. Everything is fixed now. Thank you anyway for your time.