super-ienien / twitter-webhooks

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

How to send direct message? #4

Closed cansado2930 closed 5 years ago

cansado2930 commented 5 years ago

Hi, I have installed this sdk and I have got to read direct messages, but I don't understand how I should use it to answer them. Could you tell me some tip? Thank you

super-ienien commented 5 years ago

Hi !

this module doesn't provide a way to send request to twitter's api. You should use some other module like twit or twitter-lite.

Cheers

cansado2930 commented 5 years ago

Thank you!

iFlameing commented 5 years ago

@cansado2930 I am also trying this library but I didn't get any response when someone message me. You can see the code at https://github.com/iFlameing/my-twitter-bot. Please help did you setup the webhook url at developer account?

cansado2930 commented 5 years ago

@iFlameing I have seen your code, i have comparated with my server and it seems that it is good. So I recommend you in order to debug it, use ngrok on your computer and use VS community o VS Code and put breakpoint on the different points in order to see if there are some problem.