托管对象的facebook本地化 [英] facebook localization of hosted objects

查看:119
本文介绍了托管对象的facebook本地化的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

此文档指出,可以通过获取托管对象来本地化托管对象对象id,并使用params中的本地化值对该对象进行POST。
但是之后我没有得到描述的结果。相反,新值替换旧值,就是这样。

This doc states that one can localize the hosted object by getting the objects id and doing POST to that object with localized values in params. But following that I do not get the described result. Instead new values replace old values and that's it.

流程如下:


  1. 请求我的应用程序。

  2. 使用该标记POST到 facebookgraphroot / app / objects /%objectType%与json字符串在params中描述对象。使用上面的令牌和获取的对象id POST到 facebookgraphroot /%ObjectId%将完美创建我的对象并返回我的对象​​id。

  3. <与json字符串表示本地化对象。这代替了前一个。
  1. Request apptoken for my app.
  2. Using that token POST to facebookgraphroot/app/objects/%objectType% with json string describing object in params. that perfectly creates my object and returns me the objects id.
  3. using above token and acquired objects id POST to facebookgraphroot/%ObjectId% with json string representing localized object. And this replaces the previous one.

这两种情况下的表示对象的json字符串都有localeattr,而这个attr的值是对于2-d和3-d步骤是不同的。这些值从Facebook提供的xml文档中提取。

The json strings representing objects in both cases have "locale" attr and the value of this attr is different for 2-d and 3-d step. Those values are picked up from facebook provided xml doc.

所有这些都有什么问题?

So whats wrong with all of this?

推荐答案

它实际上已经被报告了一个已知的错误给了Facebook工程团队。最近更新于2天前(从我写这篇文章的时候开始)。

It is actually a known bug that has been reported to the Facebook Engineering Team. Last updated 2 days ago (from the time I am writing this).

我们希望他们能快速修复!

Let's hope that they FIX this quickly!

这篇关于托管对象的facebook本地化的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆