如何使用Graph API在Facebook群组中使用销售功能?

时间:2015-07-07 04:25:24

标签: facebook facebook-graph-api

最近Facebook在Facebook群组中推出了销售功能,但我想使用此功能时缺少Graph API。如果可以,请告诉我们如何使用。

此处附有相关图片。

这是群组Feed的图表api请求: This is the graph api request for the feed of the group.

在此图片中,您可以看到产品的分类不同。喜欢他们的价格,联系方式。 This is over all feed of the group

这是用户可以在Facebook上手动发布的方式: Posting option in Selling Groups

这是唯一的产品Feed enter image description here

编辑: 以下是使用图表api检索的一个帖子的信息和第一张照片中提到的请求

{
 "data": [
{
  "id": "230059773786620_695552487237344",
  "from": {
    "id": "809217099193795",
    "name": "Sukanta Roga"
  },
  "to": {
    "data": [
      {
        "name": "Buy n sell @NIT silchar",
        "id": "230059773786620"
      }
    ]
  },
  "message": "200 NS for sell
₹75,000 - Contact no. 09436157708

The condition of the vehicle is very good. It has runs 11000 Kms. The  price tag is negotiable. All the documents regarding registration are clear. Please contact PG hostel for more details.",
  "picture": "https://scontent.xx.fbcdn.net/hphotos-xpa1/v/t1.0-9/s130x130/10250295_802608569854648_5409368019938464401_n.jpg?oh=be63633e7a684e65c64d6cc13b513456&oe=562C9779",
  "link": "https://www.facebook.com/photo.php?fbid=802608569854648&set=gm.695552487237344&type=1",
  "icon": "https://www.facebook.com/images/icons/photo.gif",
  "actions": [
    {
      "name": "Comment",
      "link": "https://www.facebook.com/230059773786620/posts/695552487237344"
    },
    {
      "name": "Like",
      "link": "https://www.facebook.com/230059773786620/posts/695552487237344"
    },
    {
      "name": "Share",
      "link": "https://www.facebook.com/230059773786620/posts/695552487237344"
    },
    {
      "name": "Create Group Chat",
      "link": "/groups/230059773786620/"
    }
  ],
  "privacy": {
    "value": "",
    "description": "",
    "friends": "",
    "allow": "",
    "deny": ""
  },
  "type": "photo",
  "status_type": "added_photos",
  "object_id": "802608569854648",
  "created_time": "2015-06-22T07:15:14+0000",
  "updated_time": "2015-06-22T07:15:14+0000",
  "is_hidden": false,
  "is_expired": false,
  "likes": {
    "data": [
      {
        "id": "856694037754846",
        "name": "Roshan Prasad"
      }
    ],
    "paging": {
      "cursors": {
        "after": "ODU2Njk0MDM3NzU0ODQ2",
        "before": "ODU2Njk0MDM3NzU0ODQ2"
      }
    }
  }
},

0 个答案:

没有答案