我想知道我有一个事件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"
}
但没有网址。
由于
答案 0 :(得分:7)
经过一些搜索后,发现该网址为: facebook.com/ + ID 所以在这个例子中。 facebook.com/310917539364835