{"action":"created","issue":{"url":"https://api.github.com/repos/restfb/restfb/issues/262","labels_url":"https://api.github.com/repos/restfb/restfb/issues/262/labels{/name}","comments_url":"https://api.github.com/repos/restfb/restfb/issues/262/comments","events_url":"https://api.github.com/repos/restfb/restfb/issues/262/events","html_url":"https://github.com/restfb/restfb/issues/262","id":93504290,"number":262,"title":"FacebookJsonMappingException","user":{"login":"Karnifexx","id":3837303,"avatar_url":"https://avatars.githubusercontent.com/u/3837303?v=3","gravatar_id":"","url":"https://api.github.com/users/Karnifexx","html_url":"https://github.com/Karnifexx","followers_url":"https://api.github.com/users/Karnifexx/followers","following_url":"https://api.github.com/users/Karnifexx/following{/other_user}","gists_url":"https://api.github.com/users/Karnifexx/gists{/gist_id}","starred_url":"https://api.github.com/users/Karnifexx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Karnifexx/subscriptions","organizations_url":"https://api.github.com/users/Karnifexx/orgs","repos_url":"https://api.github.com/users/Karnifexx/repos","events_url":"https://api.github.com/users/Karnifexx/events{/privacy}","received_events_url":"https://api.github.com/users/Karnifexx/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/restfb/restfb/labels/type:%20bug","name":"type: bug","color":"ff4c4c"}],"state":"closed","locked":false,"assignee":{"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},"milestone":{"url":"https://api.github.com/repos/restfb/restfb/milestones/18","html_url":"https://github.com/restfb/restfb/milestones/1.13.0","labels_url":"https://api.github.com/repos/restfb/restfb/milestones/18/labels","id":1193370,"number":18,"title":"1.13.0","description":"","creator":{"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},"open_issues":0,"closed_issues":4,"state":"closed","created_at":"2015-07-04T22:53:42Z","updated_at":"2015-07-08T19:21:42Z","due_on":null,"closed_at":"2015-07-08T19:21:42Z"},"comments":8,"created_at":"2015-07-07T10:59:15Z","updated_at":"2015-07-09T12:00:11Z","closed_at":"2015-07-07T22:23:06Z","body":"Making the following call to the facebook API:\r\n\r\n```\r\nParameter defaultPostFields = Parameter.with(\"fields\", \r\n      \"id,from,message,picture,link,name,caption,description,icon,actions,privacy,type,\"\r\n      + \"status_type,application,created_time,updated_time,is_hidden,subscribed,is_expired,\"\r\n      + \"feed_targeting,targeting\");\r\n\r\nWebRequestor wr = new DefaultWebRequestor() {\r\n  @Override\r\n  protected void customizeConnection(HttpURLConnection connection) {\r\n    connection.setReadTimeout(FACEBOOK_READ_TIMEOUT_MS);\r\n    connection.setConnectTimeout(FACEBOOK_CONNECT_TIMEOUT_MS);\r\n  }\r\n};\r\n\r\nJsonMapper jm = new DefaultJsonMapper();\r\nFacebookClient facebookCon =\r\n        new DefaultFacebookClient(facebookPageToken, APP_SECRET, wr, jm, Version.VERSION_2_2);\r\n\r\ncom.restfb.Connection<Post> postsConnection = facebookCon.fetchConnection(\"me/feed\", Post.class,\r\n                    Parameter.with(\"limit\", queryLimit), Parameter.with(\"since\", sinceUnixTime),\r\n                    defaultPostFields);\r\n```\r\n\r\nResults in the following exception:\r\n\r\ncom.restfb.exception.FacebookJsonMappingException: Unable to map JSON to Java. Offending JSON is '{\"id\":2484432,\"name\":\"Newark\"}'"},"comment":{"url":"https://api.github.com/repos/restfb/restfb/issues/comments/119928802","html_url":"https://github.com/restfb/restfb/issues/262#issuecomment-119928802","issue_url":"https://api.github.com/repos/restfb/restfb/issues/262","id":119928802,"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-07-09T12:00:11Z","updated_at":"2015-07-09T12:00:11Z","body":"damn, I tried this yesterday and didn't see this either.\r\n\r\nNo problem. I'll add this to the next version and add the support for Graph API 2.4, too.\r\n\r\nThe information in the Facebook Reference is here incorrect, too. \r\n\r\nThanks again."}}