Facebook graph api 是否可以从用户发布的视频(而不是页面)中获取见解(视图)?

Facebook graph api 是否可以从用户发布的视频(而不是页面)中获取见解(视图)?,facebook-graph-api,facebook-javascript-sdk,Facebook Graph Api,Facebook Javascript Sdk,我有一个脚本,可以获取所有用户的视频并显示它们,但是,我希望通过视频获取统计数据。因此,我想检索视频图像旁边的视图、喜好和评论 我的研究表明,通过read_insights权限和/insights/endpoint,所有这些都是可以访问的。然而,这是失败的,我能找到的唯一一个引用这一点的文档是关于页面,而不是用户 是否可以在用户视频中检索见解?如果是这样的话,你能把我链接到文档上吗(或者改变我的例子,如果你喜欢看代码的话) 函数加载相册() { FB.登录(功能(响应) { if(respons

我有一个脚本,可以获取所有用户的视频并显示它们,但是,我希望通过视频获取统计数据。因此,我想检索视频图像旁边的视图、喜好和评论

我的研究表明,通过read_insights权限和/insights/endpoint,所有这些都是可以访问的。然而,这是失败的,我能找到的唯一一个引用这一点的文档是关于页面,而不是用户

是否可以在用户视频中检索见解?如果是这样的话,你能把我链接到文档上吗(或者改变我的例子,如果你喜欢看代码的话)

函数加载相册()
{
FB.登录(功能(响应)
{
if(response.authResponse)
{
//已登录并接受权限!
document.getElementById(“status”).innerHTML=“从Facebook个人资料获取相册信息”;
var计数器=0;
//启动普通API
FB.api('/me/videos',函数(响应)
{
var d=响应数据;
对于(变量i=0,l=d.length;i
我也有同样的问题:)
我只能得到喜欢和评论,但不能得到数量喜欢和数量评论。
例如:/{your post id}?fields=likes,comments{comment\u count,like\u count}

如果我知道答案,我会写信给你


用户无法获取文章的insight视图,因为insight用于页面和页面文章

我遇到了相同的问题:)
我只能得到喜欢和评论,但不能得到数量喜欢和数量评论。
例如:/{your post id}?fields=likes,comments{comment\u count,like\u count}

如果我知道答案,我会写信给你

用户无法获取文章的insight视图,因为insight用于页面和页面文章

            function loadAlbums()
            {
                FB.login(function (response)
                {
                    if (response.authResponse)
                    {

        //Logged in and accepted permissions!

                        document.getElementById("status").innerHTML = "Getting album information from your Facebook profile";
                        var counter = 0;
                        // Start Normal API
                        FB.api('/me/videos', function (response)
                        {
                            var d = response.data;
  for (var i = 0, l = d.length; i < l; i++)
                            {  
                                  // Here's where I'm trying to load individual insights for each video. and then logging the response
                        FB.api('/'+response["data"][i].id+'/insights/post_video_views_organic', function (resp)
                        {
                            var de = resp.data;
                            console.log(resp)
                        });




                                addOption(response["data"][i].name, response["data"][i].id);
                                counter++;


                            }
                            document.getElementById("status").innerHTML = "There are " + counter + " albums in your Facebook profile";
                        });


                        //end of  Normal API

                        document.getElementById("albumBtn").style.visibility = "hidden";



                    }
                }, {scope: 'read_stream,read_insights,user_photos,user_videos'});


            }