How to get localized values ​​from Facebook Open Graph API via Koala?

I am using koala gem in my rails application to use the Open Open Graph API. The main language of the application is German.

Is there any way to set the locale to get, for example. is the user of the current city in German? Or is there another reliable way to transfer places?

+4
source share
1 answer

The Graph API supports parameter passing locale. For Germany it will be de_DE.

You can check it through

GET /me?fields=location&locale=de_DE

compared with

GET /me?fields=location&locale=en_GB

Take a look

, , OpenGraph.

+9

All Articles