• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Partial fix Birthday displayed even when it's private in Facebook

Marcus

Well-known member
#1
When you register through Facebook, your birthday is fetched and displayed on your community, the privacy setting "only me" in facebook is not respected.
 

Chris D

XenForo developer
Staff member
#2
That privacy setting is not shown in the Graph API.

Also, in the context of the login process, the data returned is for "me". So if the privacy setting is "Only Me" it being returned by the API is expected.

But, still, as I said, the actual privacy setting is not provided during the process. I've had a cursory glance at the Graph API and, as far as I can tell, Facebook don't provide an end point to view these permissions either.

I think it's also fair to say that by default user registration requires the date of birth, if it isn't, the user can remove the date of birth and its actual visibility and full age details is controlled by the admin based on these settings:

upload_2014-6-2_14-0-54.png
 

Mike

XenForo developer
Staff member
#3
user_birthday is actually a permission as well and we no longer request it, so I don't even think it will be returned any more (possibly depending on the birthday privacy setting?).
 

Marcus

Well-known member
#4
I have set my birthday private ("only me") in Facebook.

I registered a new user account with facebook on my forum (1.3.2)

My forum profile displays my [facebook] age.
 
Last edited:

Mike

XenForo developer
Staff member
#5
I can't personally reproduce that. I suspect that you've already given your app birthday permissions (from before), so it's already available and we do use it if provided. In that regard, it is already fixed, while still using the birthday if it's available (which simplifies the registration). Since we don't ask for it, it will likely only be provided if it's public (though not even with that in my local tests).

As such, I don't think there are any changes to be made to this now.