Get Page Videos
Before You Start
For Pages on which you are able to perform the
MANAGE
task
, you will need:
For public Pages, which you are not able to perform the
MANAGE
task
, you will need:
Send a
GET
request to the
/{page-id}/videos
endpoint to get a list of all videos of a Page.
curl -i -X GET "https://graph.facebook.com/{page-id}/videos?access_token={access-token}"
On success, your app receives the following response:
{
"data": [
{
"description": "Clouds",
"updated_time": "2019-09-25T17:18:30+0000",
"id": "2153206464921154"
},
{
"updated_time": "2020-03-26T23:45:11+0000",
"id": "2232477747039197"
},
...
],
"paging": {
"cursors": {
"before": "MjE1MzIwNjQ2NDkyMTE1NAZDZD",
"after": "MTQwOTU5MTg4NTc2MzM0MwZDZD"
}
}
}