Hello,
I am writing to inquire how much time do we wait before receiving the access to the Account Activity API. I would like to receive Twitter’s direct messages real-time in the platform that I am working on. Hence, I need this API.
Instead of using the Account Activity API, I could use the REST API and query twitter for messages that have been received (on my acocunt) since a given date and time. It looks like that with twurl:
“twurl /1.1/direct_messages.json”
This one will list all messsages:
“twurl /1.1/direct_messages/events/list.json”
In order to support direct messaging (between a platform and twitter), I will need to make a lot of queries to the twitter database, to retrieve the most recent messages (received by my twitter account). I will have to make queries every 30 seconds, or every minute. This isn’t the way to go.
With best regards,
Dominik