{"action":"created","issue":{"url":"https://api.github.com/repos/pablobarbera/Rfacebook/issues/76","repository_url":"https://api.github.com/repos/pablobarbera/Rfacebook","labels_url":"https://api.github.com/repos/pablobarbera/Rfacebook/issues/76/labels{/name}","comments_url":"https://api.github.com/repos/pablobarbera/Rfacebook/issues/76/comments","events_url":"https://api.github.com/repos/pablobarbera/Rfacebook/issues/76/events","html_url":"https://github.com/pablobarbera/Rfacebook/issues/76","id":154669256,"number":76,"title":"Get Insights","user":{"login":"raulmilan","id":17929606,"avatar_url":"https://avatars.githubusercontent.com/u/17929606?v=3","gravatar_id":"","url":"https://api.github.com/users/raulmilan","html_url":"https://github.com/raulmilan","followers_url":"https://api.github.com/users/raulmilan/followers","following_url":"https://api.github.com/users/raulmilan/following{/other_user}","gists_url":"https://api.github.com/users/raulmilan/gists{/gist_id}","starred_url":"https://api.github.com/users/raulmilan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raulmilan/subscriptions","organizations_url":"https://api.github.com/users/raulmilan/orgs","repos_url":"https://api.github.com/users/raulmilan/repos","events_url":"https://api.github.com/users/raulmilan/events{/privacy}","received_events_url":"https://api.github.com/users/raulmilan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"andrewgeisler","id":10299159,"avatar_url":"https://avatars.githubusercontent.com/u/10299159?v=3","gravatar_id":"","url":"https://api.github.com/users/andrewgeisler","html_url":"https://github.com/andrewgeisler","followers_url":"https://api.github.com/users/andrewgeisler/followers","following_url":"https://api.github.com/users/andrewgeisler/following{/other_user}","gists_url":"https://api.github.com/users/andrewgeisler/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewgeisler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewgeisler/subscriptions","organizations_url":"https://api.github.com/users/andrewgeisler/orgs","repos_url":"https://api.github.com/users/andrewgeisler/repos","events_url":"https://api.github.com/users/andrewgeisler/events{/privacy}","received_events_url":"https://api.github.com/users/andrewgeisler/received_events","type":"User","site_admin":false},"assignees":[{"login":"andrewgeisler","id":10299159,"avatar_url":"https://avatars.githubusercontent.com/u/10299159?v=3","gravatar_id":"","url":"https://api.github.com/users/andrewgeisler","html_url":"https://github.com/andrewgeisler","followers_url":"https://api.github.com/users/andrewgeisler/followers","following_url":"https://api.github.com/users/andrewgeisler/following{/other_user}","gists_url":"https://api.github.com/users/andrewgeisler/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewgeisler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewgeisler/subscriptions","organizations_url":"https://api.github.com/users/andrewgeisler/orgs","repos_url":"https://api.github.com/users/andrewgeisler/repos","events_url":"https://api.github.com/users/andrewgeisler/events{/privacy}","received_events_url":"https://api.github.com/users/andrewgeisler/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2016-05-13T09:23:02Z","updated_at":"2016-07-27T07:34:28Z","closed_at":null,"body":"Hi Pablo, thanks for this amazing tool! I love playing with it. Just a minor question:\r\n\r\nWhen I try to get the publicly available page_storytellers_by_country (as apparently page_fans_country does not accept days_28 aggregation and Facebook does not give you daily page_fans for any time back more than 2.5 years) with the getInsights and a copied Token from the GraphAPI with the following code: \r\n\r\n`test = getInsights(object_id=\"9964154115\", token=token, metric=\"page_storytellers_by_country\", period =\"days_28\", parms='&since=2014-01-01&until=2014-03-01')`\r\n\r\nI get the following error message. Which is interesting. Because if I do it in e.g. 2015 it is working...\r\n\r\n```\r\nError in data.frame(unlist(x$data[[1]]$values[[i]]$value), end_time = x$data[[1]]$values[[i]]$end_time,  : \r\n  arguments imply differing number of rows: 0, 1\r\n```\r\n\r\nAny idea what I am doing wrong? Any help is highly appreciated! Many thanks! Raoul"},"comment":{"url":"https://api.github.com/repos/pablobarbera/Rfacebook/issues/comments/235509017","html_url":"https://github.com/pablobarbera/Rfacebook/issues/76#issuecomment-235509017","issue_url":"https://api.github.com/repos/pablobarbera/Rfacebook/issues/76","id":235509017,"user":{"login":"raulmilan","id":17929606,"avatar_url":"https://avatars.githubusercontent.com/u/17929606?v=3","gravatar_id":"","url":"https://api.github.com/users/raulmilan","html_url":"https://github.com/raulmilan","followers_url":"https://api.github.com/users/raulmilan/followers","following_url":"https://api.github.com/users/raulmilan/following{/other_user}","gists_url":"https://api.github.com/users/raulmilan/gists{/gist_id}","starred_url":"https://api.github.com/users/raulmilan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raulmilan/subscriptions","organizations_url":"https://api.github.com/users/raulmilan/orgs","repos_url":"https://api.github.com/users/raulmilan/repos","events_url":"https://api.github.com/users/raulmilan/events{/privacy}","received_events_url":"https://api.github.com/users/raulmilan/received_events","type":"User","site_admin":false},"created_at":"2016-07-27T07:34:28Z","updated_at":"2016-07-27T07:34:28Z","body":"@pablobarbera thanks for taking care of this! Your tool is just amazing! @andrewgeisler is totally right. Facebook does not allow extracting page_likes older than 2 years. I tried a lot to get older data, but there is really no way to get the data. In some weird cases I sometimes can also only go back for 18 months. I haven't yet found out, why or when this is the case though. Some industry experts told me that this may be because facebook does not have the information either, but I can't believe this and otherwise they would not have a rolling window of 2 years that is continuously adapting. "}}
{"actor":{"display_login":"raulmilan"}}