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.
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".
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