Unable to fetch videos of facebook page using graph API
1

I have a Facebook page where i have 3 posts and those posts contains videos in it but when i try to access videos using graph api, No videos are getting returned.

here is the API I'm trying

API - https://graph-video.facebook.com/{ page_id }/videos?access_token={ access_token }

here are the permissions given to this access_token

email pages_show_list pages_read_engagement public_profile

Then i tried following approach whether videos are available or not just for R&D purpose and i am getting the videos detail

Get all posts via access token From the posts response get page access token use the page access token use attachment api Here i am getting the video details So, the query is why /videos api not giving me any result. Can anyone please help me out on this ?

Thanks.

HD
Asked about 5 months ago
Selected Answer
1

Use a page token, not a user token. Also "a post containing a video" might not be a video, but just a post depending on what you actually refer to by "a post containing a video".

June 18 at 12:55 AM
Lars
HD

i tried using page token as well, but the result is same. Here a post containing video means. - i clicked on create post button - Give a title to post - added a video in it - and then clicked on post

June 18 at 1:41 AM