答案 0 :(得分:0)
这是Opengraph行动video.wants_to_watch
。
使用iOS SDK,示例代码为
// For more complex open graph stories, use `FBSDKShareAPI`
// with `FBSDKShareOpenGraphContent`
/* make the API call */
FBSDKGraphRequest *request = [[FBSDKGraphRequest alloc]
initWithGraphPath:@"/me/video.wants_to_watch"
parameters:params
HTTPMethod:@"GET"];
[request startWithCompletionHandler:^(FBSDKGraphRequestConnection *connection,
id result,
NSError *error) {
// Handle the result
}];
答案 1 :(得分:0)
据我了解这个问题,Anurag希望在已观看Facebook视频时显示复选标记。
图谱API已经提到您可以从Open Graph Reference Documentation获得 video.watches 和 video.wants_to_watch 的列表。
另请参阅此链接https://developers.facebook.com/docs/sharing/opengraph/using-actions#explicitsharing,其中提到了使用 video.watches 操作来显示某人使用您的应用观看了视频。愿这对你有所帮助,让你更清楚!