开发者

Why I can not get the email from facebook connecting

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 go开发者_C百科ne, I guess i hava no permission ? who can help me, thanks!


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜