Debugging not receiving some user's email address - facebook

I'm an admin of this facebook application. And when user join the app, I have "scope=email" so that my app can read the user's email address.
This is working mostly, but I just found that some player's email are missing in the db.
My question is..
How do I debug and see if facebook is returning email address for this particular user (I have facebook id)? I tried "Graph API Explorer", but it seems that I can only see my own email address.
And how do I get a list of permission that a user has given to my app?

Did more investigations and found that we need the player's access token - an active one.

Related

How to get user's email address using facebook unique number?

Initially, we have enabled FB login to one of our iOS app. At that time, we were only storing Facebook unique number in our database for user's unique identification purpose. Now that our customer is asking us to enable Google Login, since we didn't store user's email address at the time of their login, it became tricky for us authenticate existing FB users if at all if they want to use Google login. Consider, user is using google email as their FB login. Now we need your help in getting user's email id by using FB unique number which we already have it in our db. Your help in this regard would be highly appreciable. Thanks in advance.
There is no way to get the email of a user on Facebook, unless he specifically authorized your App with the email permission.

facebook api explorer do not retrive email address

I'm trying to implement signin/-up via facebook, but do not receive email address on request. Sure, I've grabbed the email permission before, but no success.
So I tried with FB Graph API Explorer and again my private account. Yes, access token with email permission, but no email will be delivered, instead "Field is empty or disallowed by the access token".
Access token? Just created, with email permission.
Empty? How could it be, when it is required on signup?
Using a different account of a friend, worked like a charm. Could it depend on my account settings?
Even if the permissions are given, a user can turn Platform off in the Apps Settings. Check the settings and permissions your App is showing, here: https://www.facebook.com/settings?tab=applications&section=opt_out&view
If its alright, you can follow this discussion: Register with Facebook sometimes doesn't provide email
Thanks for answer. I spent a lot of time to figure out what is going on. It seems, that my email address caused the problem, which is facebook#mydomain.com. After changing to a different one, without facebook in it, I get response as expected.

Facebook API returning ID instead of email

I'm making a game in unity and was using a facebook connect plugin by prime31. Previously I was acquiring the Facebook user's email adress but now when I call that I get the Facebook ID.
I checked it with https://developers.facebook.com/tools/explorer/?method=GET&path=me%3Ffields%3Demail and it returns the Facebook ID.
Has Facebook recently changed something? Can you guys tell me how should I retrieve the email address now?
Thanks.
That's the correct call - make sure you have the email Permission ( A call to /me/permissions will verify) and the user actually has an email address listed - it's possible a very small number do not.

FaceBook OAuth, Not able to get some of the Email Ids

I'm developing a Facebook Oauth application.
For my email account of Facebook it is working fine.
but for others (my work mates) accounts it is not working.
It is able to get Facebook first name for them but not the email address.
We have checked the settings for all accounts, it is same as me, but not working.
I have also tried in live environment, but the issue is the same.
Any ideas?
Have you got the email extended permission for the user whose email address you're trying to access? You can check with a call to /me/permissions in the graph API
Also consider that you can read real email also depending on your friends's privacy settings

How to get email of a facebook friend in an iPhone app

I am developing an iPhone application that will send email to a logged in user friends'. I am using FacebookConnect for the same. The problem is I am getting the uid of all friends but what is the way to send email to these uids(friends UID).
Also I m not able to get the email id of any of the facebook friends.Can I get the emails of the users facebook friends in my iPhone App ?
Please help me out
Thanks
I don't think you can get email of friends. Although you can send an email to uids provided they have granted permission to you app.
A comma-separated list of recipient user IDs. The recipients must be people who have already authorized your application. You can email up to 100 people at a time.
Beyond general information you are require extended permissions which requires authentication (which you are using). Any extended permission works only with the user who has granted it to. So your app's user's friends will have to grant the permission to email before you can send them one. In other words, you can send a notification email to those friends of your user who have added your app and have granted you the permission to email. Facebook has this page on communicating via email.