Get insights for facebook page video (not post) - facebook

I am uploading videos to a page as described here: https://developers.facebook.com/docs/graph-api/video-uploads
This gives me a specific ID that identifies that video. The video is also "posted" to the page feed automatically.
However, I cannot get insights for that post using the Page Video Posts metrics (see https://developers.facebook.com/docs/graph-api/reference/v2.5/insights#page_video_posts). The video itself is (logically) not recognized as a post and as such does not have an insights edge.
Is there some way to get metrics for a video on a page from the video ID itself? I know there are restrictions (must be page, 30+ likes, etc.), but these have all been fulfilled.
It seems somewhat backwards to have to upload a video, suppress the video auto-posting and then make an actual post with the video in it to get the insights for that post (and why is the video statistics related to the post instead of the video?!).
I am using python, but really any examples showing the actual requests being made will be helpful.

Related

Get Facebook video views from public video

I am trying to implement a view counter in my website for videos I created. The current challenge: Getting the public views from facebook. Since I produced the videos for other persons, thy are not posted on my facebook site.
Therefore, the FB graph API does not work, since the video_insights are only visible for the pages who posted them.
But facebook publishes the views publicly under every video. Is there any opportunity I miss with the graph API or is there a workaround for it (thought about loading the posts HTML and extracting the view div, but this would violate CORS regulations...).
FB Graph API video_insights syntax:
{video-id}/video_insights/total_video_views
I've had the same problem and I eventually just scraped the views using phantomjs in conjuction with shell scripting. The thing is, that i still don't know if such action is allowed by facebook at all.

Why Social metrics are different for orginal url and utm_source tagged url?

Recently we want to boost a particular webpage in facebook. for tracking purpose i added utm code using google url builder. Since our post is very good we received like ans shares. The next moment i realized the mistake about adding utm to the webpage. check the below images
Likes & Shares for Original blog post
http://sharetally.co/147697/
Likes & Shares for blog post tagged with utm code
http://sharetally.co/147698/
I thought i will receive likes and shares for my original blog post
What could be the mistake?

how to get facebook shares, comments, like count for youtube videos?

I know how to query the social engagement counts for a regular website. It can be pretty easily achieved with the facebook graph explorer (https://developers.facebook.com/tools/explorer/) or throug api's. As path I supply the url of an object, e.g. an website e.g. https://developers.facebook.com/tools/explorer/?method=GET&path=http%3A%2F%2Fwww.manuelfink.de&version=v2.0
However if I try the same for a youtube movie https://developers.facebook.com/tools/explorer/?method=GET&path=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DBpxVIwCbBK0&version=v2.0 it allways returns me the shared count of https://www.youtube.com/watch.
Is it possible to get the facebook shared/likes count for an youtube movie?
Thx, I really appreciate your help!
For share and like count, I think you can find an answer in the following questions on SO:
Get top videos on facebook/twitter, which is based on
How do you get the total likes for a URL (Likes and Shares)?, and
How to get share counts using graph API. Remember that a Youtube video has more than a possible url, so you may have to make several queries with different urls for the same video. I am not sure you can get the comments, but you can try with how can I get all comments from a url in facebook?

Share YouTube video on Facebook via API

This is probably not possible, but I'm throwing it out here for anyone with crazy awesome ideas or if they happened to come across some morsel of information about it.
I have an embedded YouTube player (iFrame) using the API, with a custom JS control bar. All that works great.
I want to have a share option, however, since the videos on my site will often appear as overlays, it's not ideal to have the page be shared, but rather the video itself. Is there a way to have a user share the YouTube link directly from my page, rather than just a link to my site?
I already realize the fallback is to create a URL on my site that takes a video id parameter and redirects to the proper youtube page.
Doesn't the embed video from YouTube include all YouTube features by default?
(Thumbs up, share, full screen, etc…)

how could I post feed like tetris battle or glassdoor using facebook api?

what I mean is...
in facebook timeline mode,
tetris battle and glassdoor, those 2 fb apps post feed on the right hand side as picture below
http://imgur.com/RinJh
is it an original feed post?
how could I use api to post feed like this?
I'm not really sure if this is the right answer
but maybe it's a "meta tags" game, I mean facebook has multiple meta tags that you could add to your website and facebook uses to classify pages when it scrapes the web, check out step 2 in this page http://developers.facebook.com/docs/reference/plugins/like/
there's for example a tag that specifies the type of the page
and song is one of the allowed values (that maybe SoundCloud is using for it's pages)
is it an original feed post?
No, these are most likely Aggregations of Open Graph actions.
https://developers.facebook.com/docs/concepts/opengraph/aggregations/