{"action":"created","issue":{"url":"https://api.github.com/repos/Wizcorp/phonegap-facebook-plugin/issues/710","repository_url":"https://api.github.com/repos/Wizcorp/phonegap-facebook-plugin","labels_url":"https://api.github.com/repos/Wizcorp/phonegap-facebook-plugin/issues/710/labels{/name}","comments_url":"https://api.github.com/repos/Wizcorp/phonegap-facebook-plugin/issues/710/comments","events_url":"https://api.github.com/repos/Wizcorp/phonegap-facebook-plugin/issues/710/events","html_url":"https://github.com/Wizcorp/phonegap-facebook-plugin/issues/710","id":44872894,"number":710,"title":"Multiple requests not working correct","user":{"login":"VoroninAndr","id":8658935,"avatar_url":"https://avatars.githubusercontent.com/u/8658935?v=3","gravatar_id":"","url":"https://api.github.com/users/VoroninAndr","html_url":"https://github.com/VoroninAndr","followers_url":"https://api.github.com/users/VoroninAndr/followers","following_url":"https://api.github.com/users/VoroninAndr/following{/other_user}","gists_url":"https://api.github.com/users/VoroninAndr/gists{/gist_id}","starred_url":"https://api.github.com/users/VoroninAndr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VoroninAndr/subscriptions","organizations_url":"https://api.github.com/users/VoroninAndr/orgs","repos_url":"https://api.github.com/users/VoroninAndr/repos","events_url":"https://api.github.com/users/VoroninAndr/events{/privacy}","received_events_url":"https://api.github.com/users/VoroninAndr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2014-10-04T05:31:44Z","updated_at":"2016-03-24T16:56:48Z","closed_at":null,"body":"Hello.\r\nI make multiple requests to Facebook, for different data. And for each query is opened the Facebook app, and then immediately return back. \r\nIf I once sign in Facebook app , why in the next query it opens it again? \r\nFor example the code below opens the Facebook app 3 times and then closes.\r\n\r\n```javascript\r\nvar fbLoginSuccess = function (userData) {\r\n\tfacebookConnectPlugin.api(\"me?fields=name,id,picture\", ['email', 'public_profile', 'user_friends'],function (response) {\r\n\t\tvar fbusername = response.name;\r\n\t\talert(fbusername);\r\n\t},function (error) {\r\n\t\talert(\"Failed: \" + error);\r\n\t});\r\n\r\n\tfacebookConnectPlugin.api(\"me/picture?redirect=false&type=large\", ['email', 'public_profile', 'user_friends'],function (result) {\r\n\t\tvar fbdata = result.data;\r\n\t\talert(fbdata.length);\r\n\t},function (error) {\r\n\t\talert(\"Failed: \" + error);\r\n\t});\r\n}\r\nfacebookConnectPlugin.login(['email', 'public_profile', 'user_friends'],fbLoginSuccess,function (error) { alert(\"\" + error) });\r\n```"},"comment":{"url":"https://api.github.com/repos/Wizcorp/phonegap-facebook-plugin/issues/comments/200924765","html_url":"https://github.com/Wizcorp/phonegap-facebook-plugin/issues/710#issuecomment-200924765","issue_url":"https://api.github.com/repos/Wizcorp/phonegap-facebook-plugin/issues/710","id":200924765,"user":{"login":"hangyagy","id":412917,"avatar_url":"https://avatars.githubusercontent.com/u/412917?v=3","gravatar_id":"","url":"https://api.github.com/users/hangyagy","html_url":"https://github.com/hangyagy","followers_url":"https://api.github.com/users/hangyagy/followers","following_url":"https://api.github.com/users/hangyagy/following{/other_user}","gists_url":"https://api.github.com/users/hangyagy/gists{/gist_id}","starred_url":"https://api.github.com/users/hangyagy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hangyagy/subscriptions","organizations_url":"https://api.github.com/users/hangyagy/orgs","repos_url":"https://api.github.com/users/hangyagy/repos","events_url":"https://api.github.com/users/hangyagy/events{/privacy}","received_events_url":"https://api.github.com/users/hangyagy/received_events","type":"User","site_admin":false},"created_at":"2016-03-24T16:56:48Z","updated_at":"2016-03-24T16:56:48Z","body":"Same here."}}