I'm developing ChatBots on Messenger with Node.js and Heroku + Wit.ai.
My problem :
I would like to know if it's possible to send a push XX hours after the last interaction and how to do it.
I already have Facebook ID stored in a database. I don't know how to automatically contact again the user 1 hour after the last message send to the bot. If you know how to do that, I will appreciate any help.
Thank You
Since you're already hosting this, your best bet is to have a background task that checks some kind of queue constantly, and fires off any events in that queue that are an hour old. You could use something like heroku scheduler as well.
What have you tired?