我想在FB中直接获取公共视频的网址 .
根据这个问题的建议,
How can I download a video from Facebook using GraphAPI?
我试图调用以下字段 . source
, status
, title
使用以下网址
https://graph.facebook.com/10158167232321509?access_token=xxxxxx&fields=source,status,title
只返回 status
, title
和 id
. 没有视频源网址 .
基于 documentation
,https://developers.facebook.com/docs/graph-api/reference/video/
source
应为 string
类型,包含原始可播放视频文件的A URL
.
知道为什么它没有显示源URL吗?
谢谢
2 回答
很可能是因为你没有“在CNN工作......”?
正如https://developers.facebook.com/docs/graph-api/reference/video/#Reading明确指出的那样,
在Facebook最新的API更改后,我遇到了同样的问题 . 我提出的解决方案是解析视频的URL,我正在使用以下功能 .