steyze
steyze

Reputation: 145

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 (e.g. 'User has changed his profile photo.') are in english.

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

Thx

Upvotes: 0

Views: 2890

Answers (1)

C3roe
C3roe

Reputation: 96363

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.”

Upvotes: 1

Related Questions