{"action":"created","issue":{"url":"https://api.github.com/repos/jeduan/cordova-plugin-facebook4/issues/99","labels_url":"https://api.github.com/repos/jeduan/cordova-plugin-facebook4/issues/99/labels{/name}","comments_url":"https://api.github.com/repos/jeduan/cordova-plugin-facebook4/issues/99/comments","events_url":"https://api.github.com/repos/jeduan/cordova-plugin-facebook4/issues/99/events","html_url":"https://github.com/jeduan/cordova-plugin-facebook4/pull/99","id":122381358,"number":99,"title":"Fix issue when using with InAppBrowser on ios9","user":{"login":"NGumby","id":5523819,"avatar_url":"https://avatars.githubusercontent.com/u/5523819?v=3","gravatar_id":"","url":"https://api.github.com/users/NGumby","html_url":"https://github.com/NGumby","followers_url":"https://api.github.com/users/NGumby/followers","following_url":"https://api.github.com/users/NGumby/following{/other_user}","gists_url":"https://api.github.com/users/NGumby/gists{/gist_id}","starred_url":"https://api.github.com/users/NGumby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NGumby/subscriptions","organizations_url":"https://api.github.com/users/NGumby/orgs","repos_url":"https://api.github.com/users/NGumby/repos","events_url":"https://api.github.com/users/NGumby/events{/privacy}","received_events_url":"https://api.github.com/users/NGumby/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-12-15T22:26:06Z","updated_at":"2015-12-28T19:29:09Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/jeduan/cordova-plugin-facebook4/pulls/99","html_url":"https://github.com/jeduan/cordova-plugin-facebook4/pull/99","diff_url":"https://github.com/jeduan/cordova-plugin-facebook4/pull/99.diff","patch_url":"https://github.com/jeduan/cordova-plugin-facebook4/pull/99.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/jeduan/cordova-plugin-facebook4/issues/comments/167634109","html_url":"https://github.com/jeduan/cordova-plugin-facebook4/pull/99#issuecomment-167634109","issue_url":"https://api.github.com/repos/jeduan/cordova-plugin-facebook4/issues/99","id":167634109,"user":{"login":"NGumby","id":5523819,"avatar_url":"https://avatars.githubusercontent.com/u/5523819?v=3","gravatar_id":"","url":"https://api.github.com/users/NGumby","html_url":"https://github.com/NGumby","followers_url":"https://api.github.com/users/NGumby/followers","following_url":"https://api.github.com/users/NGumby/following{/other_user}","gists_url":"https://api.github.com/users/NGumby/gists{/gist_id}","starred_url":"https://api.github.com/users/NGumby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NGumby/subscriptions","organizations_url":"https://api.github.com/users/NGumby/orgs","repos_url":"https://api.github.com/users/NGumby/repos","events_url":"https://api.github.com/users/NGumby/events{/privacy}","received_events_url":"https://api.github.com/users/NGumby/received_events","type":"User","site_admin":false},"created_at":"2015-12-28T19:29:09Z","updated_at":"2015-12-28T19:29:09Z","body":"This probably isn't the best approach, since my knowledge of ios and objective C is basically debugging and trying to fix cordova plugins when something isn't working like I need it to.  \r\n\r\nAll I know is that ```self.viewController``` isn't on top in certain cases, and because of that it won't render the facebook window.  And calling ```topMostController``` makes sure that it uses a valid controller for the calls.  I'm open to any other solution, especially if we don't need to go through the loop for every call."}}