{"action":"created","issue":{"url":"https://api.github.com/repos/sqren/fb-sleep-stats/issues/55","repository_url":"https://api.github.com/repos/sqren/fb-sleep-stats","labels_url":"https://api.github.com/repos/sqren/fb-sleep-stats/issues/55/labels{/name}","comments_url":"https://api.github.com/repos/sqren/fb-sleep-stats/issues/55/comments","events_url":"https://api.github.com/repos/sqren/fb-sleep-stats/issues/55/events","html_url":"https://github.com/sqren/fb-sleep-stats/issues/55","id":137676894,"number":55,"title":"How does the time is considered?","user":{"login":"Oooz","id":17578371,"avatar_url":"https://avatars.githubusercontent.com/u/17578371?v=3","gravatar_id":"","url":"https://api.github.com/users/Oooz","html_url":"https://github.com/Oooz","followers_url":"https://api.github.com/users/Oooz/followers","following_url":"https://api.github.com/users/Oooz/following{/other_user}","gists_url":"https://api.github.com/users/Oooz/gists{/gist_id}","starred_url":"https://api.github.com/users/Oooz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Oooz/subscriptions","organizations_url":"https://api.github.com/users/Oooz/orgs","repos_url":"https://api.github.com/users/Oooz/repos","events_url":"https://api.github.com/users/Oooz/events{/privacy}","received_events_url":"https://api.github.com/users/Oooz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-03-01T20:24:09Z","updated_at":"2016-03-02T01:30:27Z","closed_at":null,"body":"When it uptades (every 10 minutes), does it only see if the user is \"active or not\" or it also sees how long the user has been away (x minutes ago for ex)?\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/sqren/fb-sleep-stats/issues/comments/191008963","html_url":"https://github.com/sqren/fb-sleep-stats/issues/55#issuecomment-191008963","issue_url":"https://api.github.com/repos/sqren/fb-sleep-stats/issues/55","id":191008963,"user":{"login":"Oooz","id":17578371,"avatar_url":"https://avatars.githubusercontent.com/u/17578371?v=3","gravatar_id":"","url":"https://api.github.com/users/Oooz","html_url":"https://github.com/Oooz","followers_url":"https://api.github.com/users/Oooz/followers","following_url":"https://api.github.com/users/Oooz/following{/other_user}","gists_url":"https://api.github.com/users/Oooz/gists{/gist_id}","starred_url":"https://api.github.com/users/Oooz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Oooz/subscriptions","organizations_url":"https://api.github.com/users/Oooz/orgs","repos_url":"https://api.github.com/users/Oooz/repos","events_url":"https://api.github.com/users/Oooz/events{/privacy}","received_events_url":"https://api.github.com/users/Oooz/received_events","type":"User","site_admin":false},"created_at":"2016-03-02T01:30:27Z","updated_at":"2016-03-02T01:30:27Z","body":"I mean that in order to the script catch you, you must be online/active in that specific moment of the script update. In other words, if you go online for 5 minutes in between 2 scripts update, it is the same as not going online/active. IF the script could also capture the AWAY time that Facebook Chat also provide, the graphs and sleep time woud be more accurate.\r\n\r\nAs in the image above; If that first contact made a unique facebook log in during the whole day AND between 2 scripts checks (in a period smaller than 10 minutes), than he would not had been logged as active.\r\n\r\nIf I could use this information (5m ago), it wouldnt be necessary to increase the uptade rate (and avoid Facebook's blocking (dunno if its common) and guarantee one more information to increase the script's accuracy.\r\n\r\n![ex](https://cloud.githubusercontent.com/assets/17578371/13447738/8ec579b4-dffc-11e5-8970-532249ad7d4f.gif)\r\n"}}