Reputation: 1123
I'm developing an application to show videos and images from facebook by using the Graph API. I've followed the Graph API document and able to show all images. But in the case of videos I'm getting only the videos where the user is tagged-in.
I need to get the user uploaded videos too. How can I get the videos?
The Graph explorer link : https://developers.facebook.com/tools/explorer/APP_ID/?method=GET&path=me%2Fvideos&version=v2.3&
Upvotes: 1
Views: 3452
Reputation: 1123
After some changes in the Graph API calls I've found the solution.
This'll help us to get all the uploaded videos.Where USER_ID is the id of the user who's signed in.
Upvotes: 2
Reputation: 619
/me/videos should return all videos, tagged and uploaded. You can restrict to one or the other by using the type parameter: /me/videos?type=uploaded
Upvotes: 1