I am trying to get direct url of public videos in FB.
Following recommendation in this question,
How can I download a video from Facebook using GraphAPI?
I tried to invoke for the following fields. source
, status
, title
using below url
https://graph.facebook.com/10158167232321509?access_token=xxxxxx&fields=source,status,title
only return status
, title
and id
. No video source url.
Based on the documentation
,
https://developers.facebook.com/docs/graph-api/reference/video/
source
should be a string
type containing A URL
to the raw, playable video file.
Any idea why it is not showing source url?
thanks
2
Answers
Most likely because you don’t “work at” CNN …?
As https://developers.facebook.com/docs/graph-api/reference/video/#Reading clearly states,
I faced the same problem after the latest API changes from Facebook. The solution I came up, was to parse the video’s URL and I’m using the following function.