{"action":"created","issue":{"url":"https://api.github.com/repos/revetkn/restfb/issues/178","labels_url":"https://api.github.com/repos/revetkn/restfb/issues/178/labels{/name}","comments_url":"https://api.github.com/repos/revetkn/restfb/issues/178/comments","events_url":"https://api.github.com/repos/revetkn/restfb/issues/178/events","html_url":"https://github.com/revetkn/restfb/issues/178","id":56776922,"number":178,"title":"facebook insights are not gettting ","user":{"login":"madhukotagiri","id":6000792,"avatar_url":"https://avatars.githubusercontent.com/u/6000792?v=3","gravatar_id":"","url":"https://api.github.com/users/madhukotagiri","html_url":"https://github.com/madhukotagiri","followers_url":"https://api.github.com/users/madhukotagiri/followers","following_url":"https://api.github.com/users/madhukotagiri/following{/other_user}","gists_url":"https://api.github.com/users/madhukotagiri/gists{/gist_id}","starred_url":"https://api.github.com/users/madhukotagiri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/madhukotagiri/subscriptions","organizations_url":"https://api.github.com/users/madhukotagiri/orgs","repos_url":"https://api.github.com/users/madhukotagiri/repos","events_url":"https://api.github.com/users/madhukotagiri/events{/privacy}","received_events_url":"https://api.github.com/users/madhukotagiri/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-06T06:52:07Z","updated_at":"2015-02-06T08:40:48Z","closed_at":null,"body":"Hi ,\r\nI am using the rest fb face book insights \r\ni am created an app in Facebook and taken the appid and secret code in the code and \r\ni want to read the insight feeds of page.\r\ni have my own page..\r\ni am able read the insights with my credentials.\r\ni made another one as admin to that page. but with his credentials i am not able to read the insights.\r\ni given all  permissions in graph api.\r\ni cross checked with another page and another credentials also.\r\ntotally i crosschecked the all the scenarios.\r\nstill i am facing the issue.\r\n\r\nhere is my code its working fine for my own page and and my credentials.\r\n\r\npublic static ArrayList<InsightViewsPojo> getInsights(FacebookClient facebookClient,String postID){\r\n\t\t\r\n\t\tArrayList<InsightViewsPojo> insightViewsArrayList=new ArrayList<InsightViewsPojo>();\r\n\t\tConnection<Insight> insights = facebookClient.fetchConnection(postID+\"/insights\", Insight.class);\r\n\t\tIterator<?> iterator=insights.getData().iterator();\r\n\t\r\n\t\twhile (iterator.hasNext()) {\r\n\t\t\tInsight insightsview=(Insight) iterator.next();\r\n\t\t\tList<JsonObject> jsonObjects=insightsview.getValues();\r\n\t\t\tInsightViewsPojo insightViewsPojo=null;\r\n\t\t\tfor (int i = 0; i < jsonObjects.size(); i++) {\r\n\t\t\t\tinsightViewsPojo=new InsightViewsPojo();\r\n\t\t\t\tif (insightsview.getName().equalsIgnoreCase(\"post_impressions_unique\")) {\r\n\t\t\t\t\tSystem.err.println(\"==TOTAL PEOPLE REACHED==\"+jsonObjects.get(i).get(\"value\"));\r\n\t\t\t\t\tinsightViewsPojo.setPeopleReached(jsonObjects.get(i).get(\"value\").toString());\r\n\t\t\t\t}if (insightsview.getName().equalsIgnoreCase(\"post_engaged_users\")) {\r\n\t\t\t\t\tinsightViewsPojo.setPeopleReached(jsonObjects.get(i).get(\"value\").toString());\r\n\t\t\t\t\tSystem.err.println(\"==TOTAL PEOPLE ENGAGED==\"+jsonObjects.get(i).get(\"value\"));\r\n\t\t\t\t}\r\n\t\t\t\tinsightViewsArrayList.add(insightViewsPojo);\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn insightViewsArrayList;\r\n\t\t\t\r\n\t\t\r\n\t}\r\n\r\nbut another credentials for this is  i am not able to getting the feeds(i made him admin).\r\n\r\nhere is my page id : 145769072179423 \r\nplease help me in this \r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/revetkn/restfb/issues/comments/73203779","html_url":"https://github.com/revetkn/restfb/issues/178#issuecomment-73203779","issue_url":"https://api.github.com/repos/revetkn/restfb/issues/178","id":73203779,"user":{"login":"nbartels","id":1113969,"avatar_url":"https://avatars.githubusercontent.com/u/1113969?v=3","gravatar_id":"","url":"https://api.github.com/users/nbartels","html_url":"https://github.com/nbartels","followers_url":"https://api.github.com/users/nbartels/followers","following_url":"https://api.github.com/users/nbartels/following{/other_user}","gists_url":"https://api.github.com/users/nbartels/gists{/gist_id}","starred_url":"https://api.github.com/users/nbartels/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nbartels/subscriptions","organizations_url":"https://api.github.com/users/nbartels/orgs","repos_url":"https://api.github.com/users/nbartels/repos","events_url":"https://api.github.com/users/nbartels/events{/privacy}","received_events_url":"https://api.github.com/users/nbartels/received_events","type":"User","site_admin":false},"created_at":"2015-02-06T08:40:48Z","updated_at":"2015-02-06T08:40:48Z","body":"do you get an error message / exception or is the ```insights.getData()``` just empty"}}