facebook messaging statistics
As the API from facebook is still in beta, you will need to be facebook developer and create an "app" for this to work. The app needs to be allowed to get the "read_mailbox" permission. replace "appId:" with the app id you created and change the url to somewhere you can host.
The code is really ugly and probably hard to understand, if you have questions just ask.
The already downloaded message timestamps (Statistics.threads) will be stored locally, so they are cached when the page is refreshed.