How to get high quality video source URL for videos uploaded to a public facebook page using api v2.1 graphics

I am trying to get a high-quality video source URL for videos uploaded to a public page by the administrator and regular users.

Using the api v2.1 graph, I can upload all the videos uploaded to this page using https://graph.facebook.com/v2.1/547830001966077/feed

But when I try to get information about each video using the following method, sometimes it gives an error and once it works,

For example, v2.1 / 817476674942956 => Works

But for the general story v2.1 / 10201407437548351 => Does not work

Error Details:

{ "error": { "message": "Unsupported get request. Please read the Graph API documentation at https://developers.facebook.com/docs/graph-api", "type": "GraphMethodException", "code": 100 } } 

If we download this video in a browser, it will show the HD option below, https://www.facebook.com/photo.php?v=10201407437548351

So, I would like to know if there is a way to get a high quality source URL for a video for all users from an open page.

Thanks.

+5
source share

Source: https://habr.com/ru/post/1200356/


All Articles