Skip to content

Instantly share code, notes, and snippets.

Created January 10, 2018 04:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/6733747ce4696490977b23aa47b9d4e3 to your computer and use it in GitHub Desktop.
Save anonymous/6733747ce4696490977b23aa47b9d4e3 to your computer and use it in GitHub Desktop.
Facebook Account Id Missing
********************
Facebook Account Id Missing ->>>
********************
http://shurll.com/c04dm
(Copy & Paste link)
********************
On Jan 11, 2015 1:28 AM, "Dan Moore" notificationsgithub.com wrote: That's ONE reason, but not the only reason. swrobel commented Aug 8, 2012 Looks like this is potentially a platform issue: Graph API not returning email field even with email permission API call to /me is missing user's email even with email permission FQL returning empty email even with email permission granted Submit your repros so Facebook pays attention! . / Leaf Group Lifestyle. See videos for example: Email denied: Email granted: . FILTER BY CITY Mirpur, Dhaka, Bangladesh Surakarta Jalandhar, India See more. toobulkeh commented Oct 6, 2014 mlaco is saying they have solved it and need a reproducible way to test it. TeamRainless commented Oct 6, 2014 If you're on rails the easiest way to do it is to just perform a check whenever a user logs in. O pedirle al usuario que ingrese un email manualmente. You're not getting email from FB everytime (depends on user settings) and you need to ask him for email if you need it and response is missing that. zeitnot commented Jan 10, 2015 The reason is simple. You're not getting email from FB everytime (depends on user settings) and you need to ask him for email if you need it and response is missing that. .. Thank you! . Merely doing so in the OmniAuth::Builder initializer won't work if you're using the JS SDK. Then I realized that Facebook has an option that allows the user to "hide" his or her email, leaving it private, and when the user does it, it is not possible to get the email. This was referenced Nov 14, 2015 Open Facebook Integration no longer returning emails for new apps logical-and/php-oauth#56 Closed Missing public profile and email after switching to another Facebook App ID and Secret sahat/hackathon-starter#348 . By clicking or navigating the site, you agree to allow our collection of information on and off Facebook through cookies. For example what I did initially was create a generic facebook.com email address for users whose emails don't arrive via omniauth. matteomelani commented Mar 27, 2013 +1. It sometimes resolved after several hours. .. I'm also interested in this, as Facebook Test Users are not able to be created without email addresses. Bundle parameters = new Bundle(); parameters.putString("fields", "id,firstname,email,gender,birthday,name"); parameters.putString("infofields","email,name"); request.setParameters(parameters); You are receiving this because you were mentioned. Collaborator simi commented Oct 6, 2014 mlaco #61 (comment) (see those videos) in code - request.env['omniauth.auth'][:info][:email] will be nil . brennanpayne commented Feb 14, 2013 I just had the same issue as phuongnd08, a large int was passed into the email field. Does it happen consistently for all users? Could you show me the config you're using? . antoineherzog commented Oct 20, 2013 still have the problem ! . huummm very irritating. Just have 100 fb user so far but 2 of them giving null email, 1 of them giving a large integer number as email field. Can't say what percentage of users have this happen as e-mail is a required field for us and e-mail being missing would cause user creation to fail. It's really that simple. dfloresgonz commented Apr 8, 2017 " edited Edited 1 time dfloresgonz Apr 8, 2017 TeamRainless is right!!! if the user has its phone number set email is not returned I have tested with two accounts one with the phone set and the other one is not, the first one doesn't retrieve the email but the 2nd account does. mlaco commented Oct 6, 2014 Does anyone have a way to reproduce this? I wrote code to handle the case of receiving an OAuth response without an email and I would like to test it. ilandimnik commented May 5, 2013 Same issue here. cborchert commented Sep 4, 2015 Thanks, shahidaali . Now the FB API returns primary mail account (API doc says the primary mail account is set if user have more than one on file) 5a02188284
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment