{"action":"created","issue":{"url":"https://api.github.com/repos/wooyek/flask-social-blueprint/issues/10","labels_url":"https://api.github.com/repos/wooyek/flask-social-blueprint/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/wooyek/flask-social-blueprint/issues/10/comments","events_url":"https://api.github.com/repos/wooyek/flask-social-blueprint/issues/10/events","html_url":"https://github.com/wooyek/flask-social-blueprint/issues/10","id":111963241,"number":10,"title":"Cannot get email from Facebook","user":{"login":"danielhomola","id":5399803,"avatar_url":"https://avatars.githubusercontent.com/u/5399803?v=3","gravatar_id":"","url":"https://api.github.com/users/danielhomola","html_url":"https://github.com/danielhomola","followers_url":"https://api.github.com/users/danielhomola/followers","following_url":"https://api.github.com/users/danielhomola/following{/other_user}","gists_url":"https://api.github.com/users/danielhomola/gists{/gist_id}","starred_url":"https://api.github.com/users/danielhomola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielhomola/subscriptions","organizations_url":"https://api.github.com/users/danielhomola/orgs","repos_url":"https://api.github.com/users/danielhomola/repos","events_url":"https://api.github.com/users/danielhomola/events{/privacy}","received_events_url":"https://api.github.com/users/danielhomola/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-17T13:29:07Z","updated_at":"2015-12-29T10:42:33Z","closed_at":null,"body":"Hi,\r\n\r\nThanks so much for this blueprint, and for your work in general.\r\n\r\nI couldn't get Facebook to work neither (\"Could not register: Cannot create new user, authentication provider did not not provide email\"), and even if I try it on: \r\nhttp://flask-social-blueprint.appspot.com/login?next=%2F\r\n\r\nI get the following message: \r\n\"App Not Set Up: This app is still in development mode, and you don't have access to it. Switch to a registered test user or ask an app admin for permissions.\"\r\n\r\nDo you have any suggestions how to overcome this?\r\n\r\nThanks a lot,\r\nDaniel"},"comment":{"url":"https://api.github.com/repos/wooyek/flask-social-blueprint/issues/comments/167763412","html_url":"https://github.com/wooyek/flask-social-blueprint/issues/10#issuecomment-167763412","issue_url":"https://api.github.com/repos/wooyek/flask-social-blueprint/issues/10","id":167763412,"user":{"login":"danielhomola","id":5399803,"avatar_url":"https://avatars.githubusercontent.com/u/5399803?v=3","gravatar_id":"","url":"https://api.github.com/users/danielhomola","html_url":"https://github.com/danielhomola","followers_url":"https://api.github.com/users/danielhomola/followers","following_url":"https://api.github.com/users/danielhomola/following{/other_user}","gists_url":"https://api.github.com/users/danielhomola/gists{/gist_id}","starred_url":"https://api.github.com/users/danielhomola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielhomola/subscriptions","organizations_url":"https://api.github.com/users/danielhomola/orgs","repos_url":"https://api.github.com/users/danielhomola/repos","events_url":"https://api.github.com/users/danielhomola/events{/privacy}","received_events_url":"https://api.github.com/users/danielhomola/received_events","type":"User","site_admin":false},"created_at":"2015-12-29T10:42:33Z","updated_at":"2015-12-29T10:42:33Z","body":"The reason people still don't get last name and first name (see newest issue) is because you only solved half of the problem. You should explicitly request ALL fields from the new GraphAPI not just the email. This is why I asked you to please change line 138 in providers.py to:\r\nprofile = graph.get_object(\"me?fields=email,first_name,last_name,name\")"}}