开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜