facebook api:活动网址

dga*_*ma3 4 facebook facebook-graph-api

我想我知道我有一个事件ID.我想要事件URL(将用户链接到它),但图形API似乎没有它(https://developers.facebook.com/docs/graph-api/reference/event/),例如我使用命令GET /v2.9/310917539364835 HTTP/1.1输出是:

{
  "description": "...",
  "end_time": "2017-06-23T22:30:00+1000",
  "name": "UQ Postgrad Masquerade Party (End of Semester)",
  "place": {
    "name": "Cloudland",
    "location": {
      "city": "Brisbane",
      "country": "Australia",
      "latitude": -27.45891,
      "longitude": 153.0349699,
      "state": "QLD",
      "street": "641 Ann Street",
      "zip": "4006"
    },
    "id": "103221159774910"
  },
  "start_time": "2017-06-23T19:30:00+1000",
  "id": "310917539364835"
}
Run Code Online (Sandbox Code Playgroud)

但是没有URL.

谢谢

dga*_*ma3 7

经过一些搜索,结果证明URL是:facebook.com/ + ID,所以在这个例子中.facebook.com/310917539364835