【问题标题】:Goodreads type of fb posts through facebook graph apiGoodreads 类型的 fb 帖子通过 facebook graph api
【发布时间】:2016-02-22 21:32:28
【问题描述】:

这是 goodreads 发布到用户提要的帖子的屏幕截图。

我在fb graph api上看到的最接近的是

/* make the API call */
FB.api(
    "/me/feed",
    "POST",
    {
        "message": "This is a test message"
    },
    function (response) {
      if (response && !response.error) {
        /* handle the result */
      }
    }
);

但这只会发布消息文本。如何让我的 fb 应用发布与 like goodreads 类似的帖子,其中包含图片、标题和描述等。

【问题讨论】:

    标签: javascript facebook facebook-graph-api


    【解决方案1】:

    以下是使用对话框共享打开的图表故事的文档:

    https://developers.facebook.com/docs/sharing/reference/share-dialog#open-graph

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2022-07-09
      • 1970-01-01
      • 2013-04-08
      • 1970-01-01
      相关资源
      最近更新 更多