检索在对象上执行的操作的句子

时间:2012-11-09 10:56:25

标签: object action opengraph

我需要显示给定应用程序的所有可用自定义故事类型的列表。 我正在使用以下调用检索应用程序,自定义对象和自定义操作:act_AccountID / connectionobjects?access_token = _

{
  "id": "6350929420",
  "name": "SMP",  
  "url": "https://apps.facebook.com/smplatform/",
  "type": 2,
  "og_namespace": "smplatform",
  "og_actions": [
    {
      "name": "apps.uses",
      "display_name": "Use",
      "properties": [
        {
          "name": "start_time",
          "type": "date_time"
        },
        {
          "name": "end_time",
          "type": "date_time"
        },
        ...
        {
          "name": "place",
          "type": "place"
        }
      ],
      "connected_objects": [
        "website"
      ]
    },      
    {
      "name": "smplatform:cook",
      "display_name": "Cook",
      "properties": [
        {
          "name": "start_time",
          "type": "date_time"
        },
        ...
        {
          "name": "explicitly_shared",
          "type": "boolean"
        }
      ],
      "connected_objects": [
        "recipe"
      ]
    }
  ],
  "og_objects": [
    {
      "name": "website",
      "display_name": "Link",
      "properties": [
        {
          "name": "url",
          "type": "url"
        },
        ...
        {
          "name": "see_also",
          "type": "url"
        }
      ]
    },
    {
      "name": "recipe",
      "display_name": "challenge",
      "properties": [
        {
          "name": "type",
          "type": "string"
        },
        {
          "name": "determiner",
          "type": "enum"
        }
        ...
      ]
    }
  ],
  "supported_platforms": [
    1,
    2
  ],
  "tabs": [
  ],
  "picture": "https://__"
},
...

(https://developers.facebook.com/docs/reference/ads-api/connectionobjects/)

现在,我想要检索句子“使用链接”和“烹饪挑战”。 我知道这些句子可以在App Open Graph设置中自定义,因此我不能自己构建句子。

有没有办法检索那些句子?

感谢。

0 个答案:

没有答案