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!
Asked
Active
Viewed 162 times
1 Answers
1
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

Community
- 1
- 1

Jesse Wolgamott
- 40,197
- 4
- 83
- 109