开发者

How to get video duration from Graph API?

开发者 https://www.devze.com 2023-04-02 19:21 出处:网络
Are there any methods to query the duration of Facebook Video by Graph API? There\'s no related field from document.

Are there any methods to query the duration of Facebook Video by Graph API?

There's no related field from document.

http://developers.facebook.com/docs/reference/api开发者_如何学Python/video/

If Graph API does not support now, will it support in the future and when? Great thanks for any inputs.


Now in 2015, Facebook provides the video duration with the "length" field:

  • https://developers.facebook.com/docs/graph-api/reference/video


to get the video duration, get the video and then get the duration directly by "Decoding" or parsing the video file.

0

精彩评论

暂无评论...
验证码 换一张
取 消