且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

OpenGraph:自定义属性不显示在帖子中

更新时间:2021-12-05 21:35:35

仅显示发布对象的自定义属性,但您可以在操作中显示'em.您应该在动作设置"(配置故事附件"部分)的标题"字段中指定类似{match.when}的内容:

Custom properties are not showed for just posted object, but you can display 'em with your actions. You should specify something like {match.when} in the "Caption" field in Action Settings (Configure story attachment section):

引用了match对象(以及上述标题)的动作一旦发布,您将看到以下内容:

Once action referencing match object (and caption as described above) published you will see something like this:

顺便说一句,有关您在调试工具中看到的与日期格式有关的警告的一些注意事项:
目前,除提供数字timestamp而不是ISO 8601日期的消息外,没有其他方法可以消除该消息(在timestamp是正确的并代表您的实际日期,您就可以忽略此类警告.该问题存在几个错误:#159315504193810

BTW, Some notes regarding warnings you see in debug tool related to Date format:
Currently where is no way to get rid of that message other that provide numeric timestamp instead of ISO 8601 date (none of samples or formats described for DateTime in Simple Types are working without a warning) . The good news that date is updated correctly even if warning displayed, so you may ignore such warning as long as timestamp displayed in Object Properties of Debug Tool output is correct and represent your actual date. There is couple of bugs exists for that issue: #159315504193810 and #302542186507947