开发者

How to get C# Facebook sdk to response no matte profile language?

开发者 https://www.devze.com 2023-01-23 09:10 出处:网络
How do I get C # FACEBOOK SDK to always respond in the same language no m开发者_开发百科atter what language the profile?

How do I get C # FACEBOOK SDK to always respond in the same language no m开发者_开发百科atter what language the profile?

eg. relationship_status gives me "mand" (male in Danish) with a Danish profile, but "male" with an English profile.


When you make a query just include the &locale=en_US query argument, setting the value to whatever locale you want. For example:

dynamic result = app.Api("/me?locale=en_US");
0

精彩评论

暂无评论...
验证码 换一张
取 消