A video copyright
GET /v24.0/{video-copyright-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-copyright-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-copyright-id}",
function (response) {
if (response && !response.error) {
/* handle the result */
}
}
);/* make the API call */
new GraphRequest(
AccessToken.getCurrentAccessToken(),
"/{video-copyright-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-copyright-id}"
parameters:params
HTTPMethod:@"GET"];
[request startWithCompletionHandler:^(FBSDKGraphRequestConnection *connection,
id result,
NSError *error) {
// Handle the result
}];| フィールド | 説明 |
|---|---|
idnumeric string | The video copyright ID |
content_categoryenum | The content category of the reference file. |
copyright_content_idnumeric string | The copyright content ID |
creator | The account that created the copyright |
excluded_ownership_segmentslist<VideoCopyrightSegment> | The list of audio and video segments excluded from copyright monitoring. This includes both self-defined excluded segments as well as system generated excluded segments. |
in_conflictbool | Whether the video copyright is in active conflict with another rights owner's video copyright. |
monitoring_statusenum | Whether the video is monitored successfully for copyright. The status could be NOT_EXAMINED, COPYRIGHTED, and ERROR. |
monitoring_typeenum | Whether the video is monitored for VIDEO, AUDIO, or VIDEO_AND_AUDIO |
ownership_countriesVideoCopyrightGeoGate | Two string arrays of ISO 3166 format country codes. |
reference_fileCopyrightReferenceContainer | The reference file |
reference_file_disabledbool | Whether the reference file is disabled. |
reference_file_disabled_by_opsbool | Whether the reference file has been disabled by ops. |
reference_owner_idstring | The ID of the reference video owner |
rule_ids | A list of matching rules applied to the copyrighted content |
tagslist<string> | The tags/keywords associated with the copyright |
whitelisted_idslist<numeric string> | A list of page IDs or user IDs, who are allowed to use the copyrighted content. |
| エッジ | 説明 |
|---|---|
Edge<MediaCopyrightUpdateRecord> | Update records of the copyright |
| エラー | 詳細 |
|---|---|
| 368 | The action attempted has been deemed abusive or is otherwise disallowed |
video_copyrightsのエッジにPOSTリクエストを以下のパスで送信できます: | パラメーター | 説明 |
|---|---|
attribution_idnumeric string or integer | For Rights Manager Lite, please provide ID of the Page where the attribution should link to. Provide 0 if you want to unlink the reference file with its current attribution. For Rights Manager Pro, please provide ID of the attribution to be displayed for valid monitored videos matching this content. |
content_categoryenum {episode, movie, web} | A string array representing the reference file's content category |
copyright_content_idnumeric string or integer | This is the ID of the content which needs to be copyrighted. It could be an ID of a video, or an ID of a live video. 必須 |
excluded_ownership_countrieslist<UTF-8 encoded string> | A string array of ISO 3166 format country codes, where the owner does not own the rights to the content |
excluded_ownership_segmentslist<Video Match Segment> | An array of match segments to exclude from the matching algorithm |
start_time_in_secfloat | 必須 |
media_typeenum {VIDEO_AND_AUDIO, VIDEO_ONLY, AUDIO_ONLY} | 必須 |
duration_in_secfloat | 必須 |
segment_sourceenum {PUBLISHER_DEFINED, PAUSE_LIVE_MONITORING, LABEL_MUTED, PUBLISHER_MUTED, MUSIC_RESTRICTION_MUTED_STILL_VIDEO, MUSIC_RESTRICTION_MUTED_MULTI_TRACK, AUDIO_LIBRARY_USAGE, MELODY, INELIGIBLE_CONTENT} | デフォルト値: PUBLISHER_DEFINED |
is_reference_disabledboolean | If true, stop creating matches for the reference file. |
is_reference_videoboolean | デフォルト値: falseTrue indicates that the content is used only as a reference video, and is not available for consumption on Facebook. |
monitoring_typeenum {VIDEO_AND_AUDIO, VIDEO_ONLY, AUDIO_ONLY} | Setting to indicate whether the content has copyright ownership on video, audio, or both. |
ownership_countrieslist<UTF-8 encoded string> | A string array of ISO 3166 format country codes, where the owner owns the rights of the content |
rule_idnumeric string or integer | A copyright rule to be applied to the copyrighted content. |
tagsarray<string> | The tags/keywords associated with the copyright |
whitelisted_idslist<numeric string> | A list of page IDs or user IDs, who are allowed to use the copyrighted content. |
whitelisted_ig_user_idslist<numeric string> | A list of instagram user IDs who are allowed to use the copyrighted content. |
idによって表されたノードを戻り値の型で読み込みます。id: numeric string, | エラー | 詳細 |
|---|---|
| 283 | That action requires the extended permission pages_read_engagement and/or pages_read_user_content and/or pages_manage_ads and/or pages_manage_metadata |
| 100 | Invalid parameter |
/{video_copyright_id}にPOSTリクエストを送信してa VideoCopyrightを更新できます。| パラメーター | 説明 |
|---|---|
append_excluded_ownership_segmentsboolean | If true, append the excluded ownership segments instead of replacing them |
attribution_idnumeric string or integer | The ID of the attribution to be displayed for valid monitored videos matching this content. |
content_categoryenum {episode, movie, web} | The content category of the copyrighted reference file. |
excluded_ownership_countrieslist<UTF-8 encoded string> | A string array of ISO 3166 format country codes, where the owner does not own the rights to the content |
excluded_ownership_segmentslist<Video Match Segment> | An array of match segments to exclude from the matching algorithm. System generated excluded segments may not be replaced. |
start_time_in_secfloat | 必須 |
media_typeenum {VIDEO_AND_AUDIO, VIDEO_ONLY, AUDIO_ONLY} | 必須 |
duration_in_secfloat | 必須 |
segment_sourceenum {PUBLISHER_DEFINED, PAUSE_LIVE_MONITORING, LABEL_MUTED, PUBLISHER_MUTED, MUSIC_RESTRICTION_MUTED_STILL_VIDEO, MUSIC_RESTRICTION_MUTED_MULTI_TRACK, AUDIO_LIBRARY_USAGE, MELODY, INELIGIBLE_CONTENT} | デフォルト値: PUBLISHER_DEFINED |
is_reference_disabledboolean | If true, stop creating matches for the reference file. |
monitoring_typeenum {VIDEO_AND_AUDIO, VIDEO_ONLY, AUDIO_ONLY} | Setting to indicate whether the content has copyright ownership on video, audio, or both. |
ownership_countrieslist<UTF-8 encoded string> | A string array of ISO 3166 format country codes, where the owner owns the rights to the content |
rule_idnumeric string or integer | A copyright policy to be applied to the copyrighted content. |
whitelisted_idslist<numeric string> | A list of page IDs or user IDs, who are allowed to use the copyrighted content. |
whitelisted_ig_user_idslist<numeric string> | A list of Instagram user IDs who are allowed to use the copyrighted content. |
success: bool, | エラー | 詳細 |
|---|---|
| 100 | Invalid parameter |
| 200 | Permissions error |