{"action":"created","issue":{"url":"https://api.github.com/repos/magus/react-native-facebook-login/issues/77","repository_url":"https://api.github.com/repos/magus/react-native-facebook-login","labels_url":"https://api.github.com/repos/magus/react-native-facebook-login/issues/77/labels{/name}","comments_url":"https://api.github.com/repos/magus/react-native-facebook-login/issues/77/comments","events_url":"https://api.github.com/repos/magus/react-native-facebook-login/issues/77/events","html_url":"https://github.com/magus/react-native-facebook-login/issues/77","id":130918243,"number":77,"title":"iOS and Android returning different data on login","user":{"login":"dennmart","id":2877,"avatar_url":"https://avatars.githubusercontent.com/u/2877?v=3","gravatar_id":"","url":"https://api.github.com/users/dennmart","html_url":"https://github.com/dennmart","followers_url":"https://api.github.com/users/dennmart/followers","following_url":"https://api.github.com/users/dennmart/following{/other_user}","gists_url":"https://api.github.com/users/dennmart/gists{/gist_id}","starred_url":"https://api.github.com/users/dennmart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dennmart/subscriptions","organizations_url":"https://api.github.com/users/dennmart/orgs","repos_url":"https://api.github.com/users/dennmart/repos","events_url":"https://api.github.com/users/dennmart/events{/privacy}","received_events_url":"https://api.github.com/users/dennmart/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-03T05:33:41Z","updated_at":"2016-03-11T10:37:26Z","closed_at":null,"body":"I'm working on an existing React Native project that uses this library to allow users to log in with their Facebook accounts. The app was built with iOS in mind, and I'm helping out with the Android side of it since I currently don't have access to a Mac.\r\n\r\nI noticed that logging in returns entirely different data. For example, the iOS login returns an object with a `credentials` key (as seen [here](https://github.com/magus/react-native-facebook-login/blob/2c75e9fd039d255ef22274478bcb1f4a62a9b094/RCTFBLogin/RCTFBLoginManager.m#L84-L91)) while the Android login is returning an object with an entirely different format (as seen [here](https://github.com/magus/react-native-facebook-login/blob/994639ec2bf0098d79b33af720bc94f70614b2a8/android/src/main/java/com/magus/fblogin/FacebookLoginModule.java#L79-L88)).\r\n\r\nIt's causing us to have to write platform-specific logic, which we'd like to avoid. Are there plans to make these consistent between platforms?"},"comment":{"url":"https://api.github.com/repos/magus/react-native-facebook-login/issues/comments/195312158","html_url":"https://github.com/magus/react-native-facebook-login/issues/77#issuecomment-195312158","issue_url":"https://api.github.com/repos/magus/react-native-facebook-login/issues/77","id":195312158,"user":{"login":"paulohenriquesg","id":312820,"avatar_url":"https://avatars.githubusercontent.com/u/312820?v=3","gravatar_id":"","url":"https://api.github.com/users/paulohenriquesg","html_url":"https://github.com/paulohenriquesg","followers_url":"https://api.github.com/users/paulohenriquesg/followers","following_url":"https://api.github.com/users/paulohenriquesg/following{/other_user}","gists_url":"https://api.github.com/users/paulohenriquesg/gists{/gist_id}","starred_url":"https://api.github.com/users/paulohenriquesg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulohenriquesg/subscriptions","organizations_url":"https://api.github.com/users/paulohenriquesg/orgs","repos_url":"https://api.github.com/users/paulohenriquesg/repos","events_url":"https://api.github.com/users/paulohenriquesg/events{/privacy}","received_events_url":"https://api.github.com/users/paulohenriquesg/received_events","type":"User","site_admin":false},"created_at":"2016-03-11T10:37:26Z","updated_at":"2016-03-11T10:37:26Z","body":"+1"}}