M
M
Maxim2016-12-02 13:08:50
Django
Maxim, 2016-12-02 13:08:50

How to see the number of views of a facebook video?

I use this method
actually the request itself 124496044704943/video_insights
in response to emptiness

{
  "data": [
  ],
  "paging": {
    "previous": "https://graph.facebook.com/v2.8/124496044704943/video_insights?access_token=EAACEdEose0cBANz9tQkpKnoa4aEtiiJTiDewPtucbVZC2SGlIyyCTvTDZBU0rcq87ESmCSZCmZCN4lwWxOiu8Ck6tj8G0kh6v0Pu4tYfLrd4uynZBapPpZBzqO4GiOdZBeK6ZCeGOxPaZBarq0oCtkZBoYRmeDSlvXJjDghFIPu8&debug=all&format=json&method=get&pretty=0&suppress_http_code=1&since=-86400&until=0",
    "next": "https://graph.facebook.com/v2.8/124496044704943/video_insights?access_token=EAACEdEose0cBANz9tQkpKnoa4aEtiiJTiDeRbVZC2SGlIyyCTvTDZBU0rcq87ESmCSZCmZCN4lw6tj8G0kh6v0Pu4tYfLrd4uynZBapPpZBzqOp01BbwQH4GiOdZBeK6ZCeGOxPaZBarq0oCtkZBoYRmeDSlvXJjDghFIPu8&debug=all&format=json&method=get&pretty=0&suppress_http_code=1&since=0&until=86400"
  }
}

add fields
124496044704943/video_insights?fields=total_video_views

The answer is empty again, I don’t understand what I missed, it seems like I’m doing everything in the docks, what can you tell me?
I tried it through the page token, I’ll describe it step by step
I posted a video on my page, through FB, I get a link
https://www.facebook.com/me/videos/126558574498690/

All permissions
6d34e15f1a784b339cc01befa096f800.png
Page token
340efc5f6c7c4d61aaa5d3a81f7ddbfb.png
And emptiness
7057869b0b624e62a82209f987a2ae9f.png
I also posted through the graph api application, I did not get a result
Is the order of my actions different from yours?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Philipp, 2016-12-02
@zoonman

When you installed the application, did you request read_insights in the scope?
https://developers.facebook.com/docs/facebook-logi...
I tried it on my page.
In general, you need to use the page token if the video is posted on the page.
Query
Parameter set
cfb1ad3899dc4c06aba15b2612cce83b.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question