13 replies · 164 views · thread synced · 5 days ago
· View on torn.com
About this thread
Posts archived:14 / 14 posts (100%) · the total is Torn's reply count + the opening post at the last fetch
Counted by TornLife from the archived posts.
Archived posts
14
Discussion span
→
People posting
5
Likes on archived posts
14
Authority score
67 / 100
Historical score
23 / 100
Story score
34 / 100
Engagement score
57 / 100
Most-liked replies
Mauk[1494436]
· 7 likes · You can use the `timestamp` parameter to filter messages and events. Only entries that happened since `timestamp` are returned. Eg.: https://api.torn.com/user/?selections=messages,events×tamp=1499151880&key=
Hey guys. What is the fastest way of getting acces to new messages and notifications?
Right now, my solution would be to read with the field notifications how many should I look for, and then with the input for events and mail to acces the first N items.
But, that itself, is a pretty big API call, since you receive a lot more events and notifications than you want to.
But right now how could I approach this. Remember the timestamp of the last seen event / message in my db and check which ones are new after that timestamp?