Hi,
I want to build a conversational chat bot using java for twitter.
I had successfully make the webhook URL to receive the user events. I also register the webhook into my twitter app but still i am not receiving the events.
what am i missing? How i start receiving the events ?
What exact implementation/ library are you using and what exact endpoints did you call? (Without revealing your keys)
Hi,
i made the post and get methods in which post is using to receive the events and get is for crc validation.
so my webhook url is - https://*************/receiveMessage/twitter
i register this url as webhook in twitter app but still i am not receiving the events when someone sends a direct message
Does it work if you use a totally different implementation, like GitHub - twitterdev/account-activity-dashboard: Sample web app and helper scripts to get started with the premium Account Activity API - this implements everything, so if that works, you can go back to your implementation and check what’s missing.
Using this i have register my webhook and added the subscription but still i am not receiving the events.
1 Like
Ah, unfortunately i don’t know what else to try, others have reported missing events in the account activity stream too.
Hi
GitHub - twitterdev/account-activity-dashboard: Sample web app and helper scripts to get started with the premium Account Activity API
if i register webhook in this i am receiving events in node project.
so i thing in my code i have to add addsubscription, removesubscription code part.
so can you help me how i write code for these in java so i am able to subscribe the user for my webhook.
1 Like
I think my post method is not correct
have you any idea post method signature in java for receiving events.
@Hubert82852384 Hey man
can you please tell me how to write the post method for receiving the events.
My post method is
but i am not able to receive events.
can you please tell me what’s going wrong?