I hava connected the facebook by facebooker gem, and I can get the uid and name from facebook. But the email and pic are both gone, I guess i hava no permission ? who can help me, thanks!
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You have to specifically ask for the email address.. Specifically, when the authorization page on facebook.com lists what the application wants, if you want “email” to be returned, you have to requests “email”.
This SO Question has an example on how to get email in the facebooker permissions.
For the picture, it’s very simple — just use
http://graph.facebook.com/{id}/picture— this works with people, events, groups, pages.http://developers.facebook.com/docs/authentication/permissions