{"action":"created","issue":{"url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/249","repository_url":"https://api.github.com/repos/ParsePlatform/parse-server","labels_url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/249/labels{/name}","comments_url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/249/comments","events_url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/249/events","html_url":"https://github.com/ParsePlatform/parse-server/issues/249","id":131477362,"number":249,"title":"Facebook login returning \"unauthorized\"","user":{"login":"chuckurbis","id":60841,"avatar_url":"https://avatars.githubusercontent.com/u/60841?v=3","gravatar_id":"","url":"https://api.github.com/users/chuckurbis","html_url":"https://github.com/chuckurbis","followers_url":"https://api.github.com/users/chuckurbis/followers","following_url":"https://api.github.com/users/chuckurbis/following{/other_user}","gists_url":"https://api.github.com/users/chuckurbis/gists{/gist_id}","starred_url":"https://api.github.com/users/chuckurbis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chuckurbis/subscriptions","organizations_url":"https://api.github.com/users/chuckurbis/orgs","repos_url":"https://api.github.com/users/chuckurbis/repos","events_url":"https://api.github.com/users/chuckurbis/events{/privacy}","received_events_url":"https://api.github.com/users/chuckurbis/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-02-04T21:20:21Z","updated_at":"2016-02-04T23:56:44Z","closed_at":"2016-02-04T23:56:44Z","body":"I've been trying to hook up Facebook login via an iPhone app. I have set the FACEBOOK_APP_ID on my Heroku deploy and even echoing it out to the log so I know that is being set. \r\n\r\nMy iPhone app has all there correct information in the plist file. \r\n\r\nFor some reason though, when I go through the connect process using, PFFacebookUtils.logInInBackgroundWithReadPermissions, the app always returns:\r\n\r\n> unauthorized (Code: 0, Version: 1.12.0)\r\n\r\nI'm not sure where to begin tracking this error down. I don't see anything in the log files either. \r\n\r\nAny help would be greatly appreciated. Thank you."},"comment":{"url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/comments/180109832","html_url":"https://github.com/ParsePlatform/parse-server/issues/249#issuecomment-180109832","issue_url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/249","id":180109832,"user":{"login":"gfosco","id":406732,"avatar_url":"https://avatars.githubusercontent.com/u/406732?v=3","gravatar_id":"","url":"https://api.github.com/users/gfosco","html_url":"https://github.com/gfosco","followers_url":"https://api.github.com/users/gfosco/followers","following_url":"https://api.github.com/users/gfosco/following{/other_user}","gists_url":"https://api.github.com/users/gfosco/gists{/gist_id}","starred_url":"https://api.github.com/users/gfosco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gfosco/subscriptions","organizations_url":"https://api.github.com/users/gfosco/orgs","repos_url":"https://api.github.com/users/gfosco/repos","events_url":"https://api.github.com/users/gfosco/events{/privacy}","received_events_url":"https://api.github.com/users/gfosco/received_events","type":"User","site_admin":false},"created_at":"2016-02-04T23:56:44Z","updated_at":"2016-02-04T23:56:44Z","body":"It is in the readme, you can pass in an array of facebook app ids: https://github.com/ParsePlatform/parse-server/blob/master/README.md\r\n\r\nYou no longer need to set the environment variable.\r\n\r\nLet me know if you have any other issues!"}}