Phiên bản API Đồ thị

Catalog Clothing

Đọc

CatalogClothing

Ví dụ

Graph API Explorer
GET v25.0/...?fields={fieldname_of_type_CatalogClothing} 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(
    '...?fields={fieldname_of_type_CatalogClothing}',
    '{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(
    "...?fields={fieldname_of_type_CatalogClothing}",
    function (response) {
      if (response && !response.error) {
        /* handle the result */
      }
    }
);
/* make the API call */
new GraphRequest(
    AccessToken.getCurrentAccessToken(),
    "...?fields={fieldname_of_type_CatalogClothing}",
    null,
    HttpMethod.GET,
    new GraphRequest.Callback() {
        public void onCompleted(GraphResponse response) {
            /* handle the result */
        }
    }
).executeAsync();
/* make the API call */
FBSDKGraphRequest *request = [[FBSDKGraphRequest alloc]
                               initWithGraphPath:@"...?fields={fieldname_of_type_CatalogClothing}"
                                      parameters:params
                                      HTTPMethod:@"GET"];
[request startWithCompletionHandler:^(FBSDKGraphRequestConnection *connection,
                                      id result,
                                      NSError *error) {
    // Handle the result
}];
Nếu bạn muốn tìm hiểu cách sử dụng API Đồ thị, hãy đọc Hướng dẫn sử dụng API Đồ thị của chúng tôi.

Thông số

Điểm cuối này không có bất kỳ thông số nào.

Trường

Trường thông tinMô tả
additional_features
list<string>

additional_features

bra_band_size
int32

bra_band_size

bra_cup_size
string

bra_cup_size

character
string

character

chest_size
string

chest_size

closure
string

closure

clothing_size_type
enum

clothing_size_type

collar_style
string

collar_style

denim_features
list<string>

denim_features

fabric_care_instructions
list<string>

fabric_care_instructions

inseam
string

inseam

is_adult_product
enum

is_adult_product

is_costume
enum

is_costume

is_outfit_set
enum

is_outfit_set

jean_wash
string

jean_wash

neckline
string

neckline

occasion
list<string>

occasion

pant_fit
string

pant_fit

pant_leg_style
string

pant_leg_style

pant_length_style
string

pant_length_style

sheerness
string

sheerness

size_system
enum

size_system

skirt_length
string

skirt_length

sleeve_length
string

sleeve_length

sleeve_length_style
enum

sleeve_length_style

sleeve_style
string

sleeve_style

sock_rise
enum

sock_rise

sport
list<string>

sport

sports_league
list<string>

sports_league

sports_team
list<string>

sports_team

standard_features
list<string>

standard_features

style
list<string>

style

theme
string

theme

upper_body_strap_configuration
string

upper_body_strap_configuration

waist_rise
string

waist_rise

waist_size
string

waist_size

waist_style
string

waist_style

Tạo

Bạn không thể thực hiện thao tác này trên điểm cuối này.

Cập nhật

Bạn không thể thực hiện thao tác này trên điểm cuối này.

Xóa

Bạn không thể thực hiện thao tác này trên điểm cuối này.