I'm using facebook connect to let users login my application easy. It works well, but, after users allow me to get their facebook info as email, birthday, gender and so on, facebook gives me back these data in user's specific locale.
So, if a user has facebook in english i'll get {"gender" : "male"}, and if a user has facebook in italian, for example, i'll get {"gender" : "uomo"}. Facebook translates the value using user's locale. The problem is that i have to use these user info to make some search on my app, and it's impossible to me to say, for example, "select all 'male' users".
Is there a way to make facebook return user's info in a specific locale? So I will be able to know how to use these data, not only displaying those.
Thanks
In a nutshell, language localization on Facebook is a type of Facebook campaign that allows you to automatically (or semi-automatically) launch ads to specific speech and language areas within multiple counties, regions and countries.
If you have a Facebook account, you've already agreed to allow Facebook to record all of your on-site activity, including who you search, what groups you're part of, your entire social network, and everything you share in Messenger.
From a Page, click below the cover photo. Select Switch Region. Select the country you want as your default for the Page.
According to this page, the "sex" field always returns in English. Of course, the documentation for the "user" table doesn't have a "gender" field.
http://developers.facebook.com/docs/reference/fql/user/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With