简体   繁体   中英

Define language when using facebook graph-api receiving feeds

I'm using Facebook's PHP-lib to reading a user-feed through the api call. Therefore I created a dummy-application to use app-id and app-key to authenticate.

I'm receiving the feed data but the default status messages generated by Facebook (eg 'User has changed his profile photo.') are in english.

Is there a way to set the language of these messages?

Thx

See the section titled “Specifying Locale” here, https://developers.facebook.com/docs/reference/api/ :

“If your app needs the ability to retrieve localized content in the language of a particular locale, add the locale parameter.”

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM