그래프 API 버전

Cover Photo

읽기

The cover photo for a Facebook Event, Group, or Page.

새로운 페이지 환경

This endpoint is supported for 새로운 페이지 환경.

Examples

curl -i -X GET "https://graph.facebook.com/COVER-PHOTO-ID?access_token=ACCESS-TOKEN"
GraphRequest request = GraphRequest.newGraphPathRequest(
  accessToken,
  "/COVER-PHOTO-ID",
  new GraphRequest.Callback() {
    @Override
    public void onCompleted(GraphResponse response) {
      // Insert your code here
    }
});

request.executeAsync();
FBSDKGraphRequest *request = [[FBSDKGraphRequest alloc]
    initWithGraphPath:@"/COVER-PHOTO-ID"
           parameters:nil
           HTTPMethod:@"GET"];
[request startWithCompletionHandler:^(FBSDKGraphRequestConnection *connection, id result, NSError *error) {
    // Insert your code here
}];
FB.api(
  '/COVER-PHOTO-ID',
  'GET',
  {},
  function(response) {
      // Insert your code here
  }
);

매개변수

이 엔드포인트는 매개변수가 없습니다.

필드

필드설명
id
numeric string

The ID of the cover photo

cover_id
id

Deprecated. Please use the id field instead

offset_x
float

When greater than 0% but less than 100%, the cover photo overflows horizontally. The value represents the horizontal manual offset (the amount the user dragged the photo horizontally to show the part of interest) as a percentage of the offset necessary to make the photo fit the space.

offset_y
float

When greater than 0% but less than 100%, the cover photo overflows vertically. The value represents the vertical manual offset (the amount the user dragged the photo vertically to show the part of interest) as a percentage of the offset necessary to make the photo fit the space.

source
string

Direct URL for the person's cover photo image

만들기

이 엔드포인트에서 수행할 수 없는 작업입니다.

업데이트 중

이 엔드포인트에서 수행할 수 없는 작업입니다.

삭제 중

이 엔드포인트에서 수행할 수 없는 작업입니다.