You're storing messages, how are you guaranteeing safety of those messages when it looks like one can seemingly just blast through your API calls to find messages when one isn't even on that server?
Bravo to those that downvoted me without even bothering to use their brains (let alone test something.)
Very bad security practice. Token revocation is hard, folks. If you aren't making that token expire every session then you're doing it wrong.
In fact, this was even discussed here on HN 1600+ days ago - http://homakov.blogspot.com/2012/07/saferweb-most-common-oau...
Very bad security practice.