-1

I am trying to get video-likes programmatically, the graph api requires a video-id, but I do not know how to get to the video-id?

Is there a way to get a list of all my posted video-ids?

Thanks,

Behzad Pirvali
  • 724
  • 2
  • 9
  • 24

1 Answers1

1

You can get the videos with the /me/videos/uploaded endpoint:

https://developers.facebook.com/docs/graph-api/reference/v2.2/user/videos

/{user-id}/videos/uploaded shows all videos that were published to Facebook by this person.

luschn
  • 68,448
  • 8
  • 104
  • 118
  • Thanks for your reply. Actually, what I am really looking for is the "views" on my posted videos. It looks like, insights-api might be the way to go. I am trying to issue: /v2.2//insights/post_video_complete_views_organic, but I do not know how to correctly replace object-id with a correct page-id? – Behzad Pirvali Nov 22 '14 at 06:02
  • 1
    your question was about getting a list of the IDs and the likes. if you want to expand, please create a new thread for the additional question or edit your existing question. – luschn Nov 22 '14 at 11:04
  • OK, sure, I have created a new question. Thanks for the tip. – Behzad Pirvali Nov 22 '14 at 15:51