{"action":"created","issue":{"url":"https://api.github.com/repos/Wizcorp/phonegap-facebook-plugin/issues/1031","labels_url":"https://api.github.com/repos/Wizcorp/phonegap-facebook-plugin/issues/1031/labels{/name}","comments_url":"https://api.github.com/repos/Wizcorp/phonegap-facebook-plugin/issues/1031/comments","events_url":"https://api.github.com/repos/Wizcorp/phonegap-facebook-plugin/issues/1031/events","html_url":"https://github.com/Wizcorp/phonegap-facebook-plugin/issues/1031","id":83602224,"number":1031,"title":"No login response on iOS","user":{"login":"dankingston","id":576389,"avatar_url":"https://avatars.githubusercontent.com/u/576389?v=3","gravatar_id":"","url":"https://api.github.com/users/dankingston","html_url":"https://github.com/dankingston","followers_url":"https://api.github.com/users/dankingston/followers","following_url":"https://api.github.com/users/dankingston/following{/other_user}","gists_url":"https://api.github.com/users/dankingston/gists{/gist_id}","starred_url":"https://api.github.com/users/dankingston/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dankingston/subscriptions","organizations_url":"https://api.github.com/users/dankingston/orgs","repos_url":"https://api.github.com/users/dankingston/repos","events_url":"https://api.github.com/users/dankingston/events{/privacy}","received_events_url":"https://api.github.com/users/dankingston/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-01T16:55:46Z","updated_at":"2015-06-03T20:59:22Z","closed_at":null,"body":"When I call `facebookConnectPlugin.login` on iOS, I get no response (neither success or failure). The same code works fine on both Android and web:\r\n\r\n```\r\nfacebookConnectPlugin.login(\r\n\t['user_likes' , 'user_friends', 'email'],\r\n\tfunction(response) {\r\n\t\tconsole.log(\"success\");\r\n\t},\r\n\tfunction(response) {\r\n\t\tconsole.log(\"failure\");\r\n\t}\r\n);\r\n```\r\n\r\nThis opens up the native facebook app, asks for permission, then returns to my app (but never calls the success or failure functions). However, I can see in weinre that the access token (among other things) is added to the hashbang on returning to the app:\r\n\r\n`index.html#authorize#e2e=...&expires_in=...&signed_request=...&state=%7B%22is_open_session%22%3Atrue%2C%22is_active_session%22%3Atrue%2C%22com.facebook.sdk_client_state%22%3Atrue%2C%223_method%22%3A%22fb_application_web_auth%22%2C%220_auth_logger_id...&granted_scopes=user_likes%2Cuser_friends%2Cemail%2Ccontact_email%2Cpublic_profile&denied_scopes=&access_token=...`\r\n\r\nI have set up Bundle ID and URL Scheme Suffix on facebook. I also have `exit-on-suspend` set to `false` in my config.xml. I am using PhoneGap Build.\r\n\r\nHas anyone else experienced this problem? Any ideas what's wrong?"},"comment":{"url":"https://api.github.com/repos/Wizcorp/phonegap-facebook-plugin/issues/comments/108614865","html_url":"https://github.com/Wizcorp/phonegap-facebook-plugin/issues/1031#issuecomment-108614865","issue_url":"https://api.github.com/repos/Wizcorp/phonegap-facebook-plugin/issues/1031","id":108614865,"user":{"login":"dankingston","id":576389,"avatar_url":"https://avatars.githubusercontent.com/u/576389?v=3","gravatar_id":"","url":"https://api.github.com/users/dankingston","html_url":"https://github.com/dankingston","followers_url":"https://api.github.com/users/dankingston/followers","following_url":"https://api.github.com/users/dankingston/following{/other_user}","gists_url":"https://api.github.com/users/dankingston/gists{/gist_id}","starred_url":"https://api.github.com/users/dankingston/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dankingston/subscriptions","organizations_url":"https://api.github.com/users/dankingston/orgs","repos_url":"https://api.github.com/users/dankingston/repos","events_url":"https://api.github.com/users/dankingston/events{/privacy}","received_events_url":"https://api.github.com/users/dankingston/received_events","type":"User","site_admin":false},"created_at":"2015-06-03T20:59:22Z","updated_at":"2015-06-03T20:59:22Z","body":"I'm now getting a response, but when my app resumes, the hash has been changed (to `#authorize...` etc). I use backbone, so changing the hash causes my app to reload before my success handler has finished executing.\r\n* Is this the intended behaviour (access tokens in the url hash)?\r\n* Is there any way to prevent the url hash from changing?"}}