圖形 API 版本

Video List

閱讀中

A playlist for videos

新粉絲專頁體驗

This endpoint is supported for 新粉絲專頁體驗.

Feature Permissions

名稱說明
粉絲專頁公開內容存取權限This feature permission may be required.

範例

Graph API Explorer
GET /v19.0/{video-list-id} HTTP/1.1
Host: graph.facebook.com
/* PHP SDK v5.0.0 */
/* make the API call */
try {
  // Returns a `Facebook\FacebookResponse` object
  $response = $fb->get(
    '/{video-list-id}',
    '{access-token}'
  );
} catch(Facebook\Exceptions\FacebookResponseException $e) {
  echo 'Graph returned an error: ' . $e->getMessage();
  exit;
} catch(Facebook\Exceptions\FacebookSDKException $e) {
  echo 'Facebook SDK returned an error: ' . $e->getMessage();
  exit;
}
$graphNode = $response->getGraphNode();
/* handle the result */
/* make the API call */
FB.api(
    "/{video-list-id}",
    function (response) {
      if (response && !response.error) {
        /* handle the result */
      }
    }
);
/* make the API call */
new GraphRequest(
    AccessToken.getCurrentAccessToken(),
    "/{video-list-id}",
    null,
    HttpMethod.GET,
    new GraphRequest.Callback() {
        public void onCompleted(GraphResponse response) {
            /* handle the result */
        }
    }
).executeAsync();
/* make the API call */
FBSDKGraphRequest *request = [[FBSDKGraphRequest alloc]
                               initWithGraphPath:@"/{video-list-id}"
                                      parameters:params
                                      HTTPMethod:@"GET"];
[request startWithCompletionHandler:^(FBSDKGraphRequestConnection *connection,
                                      id result,
                                      NSError *error) {
    // Handle the result
}];
如果想瞭解如何使用圖形 API,請參閱我們的使用圖形 API 指南

參數

這個端點沒有任何參數。

欄位

欄位說明
id
numeric string

Video playlist ID

creation_time
datetime

The time when the playlist was created

description
string

Description of the playlist

last_modified
datetime

The time when the contents of the playlist was last changed

owner
User|Page

Owner of the playlist

season_number
int32

Number of Season which this episode belongs to

thumbnail
string

Thumbnail of the playlist

title
string

Title of the playlist

videos_count
int32

Number of Videos in the playlist

關係連線

關係連線說明
Edge<Video>

Videos in the playlist

Error Codes

錯誤說明
102Session key invalid or no longer valid

建立中

你無法在此端點執行此操作。

更新中

你無法在此端點執行此操作。

刪除中

你無法在此端點執行此操作。