The data returned by $facebook->api('/me') are having values specific to local language (e.g. the "gender" field). Can I get a specific locale for the data returned?




Appreciate if you can like this page if you find it useful! - Click "Like"

The set a specific locale, you can include the query parameter { "locale" : "xx_xx" } where "xx_xx" is the required locale. For example, to get the data returned in English, you can use "en_US" and for Chinese, you can use "zh_HK".



Find my FAQ on Facebook Development useful? Download the PDF for all the FAQs HERE!