Can I get facebook user information in a specific locale via facebook connection?

I use a facebook connection so that users can easily log in to my application. It works well, but after users allow me to receive information on facebook like email, birthday, gender, etc., Facebook returns me this data to the user locale.

So, if the user has facebook in English, I will get {"gender": "male"}, and if the user has facebook in Italian, for example, I will get {"gender": "uomo"}. Facebook translates the value using a custom locale. The problem is that I have to use this user information to perform any search in my application, and it is impossible for me to say, for example, "select all" male "users.

Is there a way to get facebook user information to return information in a specific locale? Therefore, I can learn how to use this data, and not just display it.

thanks

+6
facebook localization
source share
1 answer

According to this page, the sex field is always returned in English. Of course, in the documentation for the "user" table there is no "gender" field.

http://developers.facebook.com/docs/reference/fql/user/

+1
source share

All Articles