Hi,

I have sent DM using POST request (https://api.twitter.com/1.1/direct_messages/events/new.json). When I immediately call GET request (https://api.twitter.com/1.1/direct_messages/events/list.json) the most recent message which I sent through POST request is missing.

Please clarify this. Thanks in advance

1 Like

anyone please clarify this

Once you have sent the DM did you get a proper success response? Confirm this first.

Trying to GET dm-events-list immediately might not always fetch the most recent dm data. Try after half a minute and it should be fine.

this might be the reason

I’m able to get that message after 30 sec

Thank you :slightly_smiling_face:

1 Like