CatalogCameras
GET v24.0/...?fields={fieldname_of_type_CatalogCameras} 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_CatalogCameras}',
'{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_CatalogCameras}",
function (response) {
if (response && !response.error) {
/* handle the result */
}
}
);/* make the API call */
new GraphRequest(
AccessToken.getCurrentAccessToken(),
"...?fields={fieldname_of_type_CatalogCameras}",
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_CatalogCameras}"
parameters:params
HTTPMethod:@"GET"];
[request startWithCompletionHandler:^(FBSDKGraphRequestConnection *connection,
id result,
NSError *error) {
// Handle the result
}];| Field | Description |
|---|---|
battery_lifestring | battery_life |
compatible_deviceslist<string> | compatible_devices |
connector_typestring | connector_type |
digital_zoomstring | digital_zoom |
display_technologystring | display_technology |
flash_typestring | flash_type |
focal_lengthstring | focal_length |
focal_ratiostring | focal_ratio |
lens_coatinglist<string> | lens_coating |
lens_diameterstring | lens_diameter |
lens_filterstring | lens_filter |
maximum_aperturestring | maximum_aperture |
maximum_shutter_speedstring | maximum_shutter_speed |
megapixelsstring | megapixels |
minimum_aperturestring | minimum_aperture |
minimum_shutter_speedstring | minimum_shutter_speed |
modelstring | model |
optical_zoomstring | optical_zoom |
product_heightstring | product_height |
product_lengthstring | product_length |
product_widthstring | product_width |
screen_sizestring | screen_size |
self_timer_delaystring | self_timer_delay |
sensor_resolutionstring | sensor_resolution |
shooting_modeslist<string> | shooting_modes |
standard_featureslist<string> | standard_features |
usb_technologystring | usb_technology |
usb_typestring | usb_type |
wireless_technologieslist<string> | wireless_technologies |