Total views of any video not getting with facebook api - facebook-graph-api

I want to get total video view of Facebook public video. I have tried {post_id}/video_insights/total_video_views. But this is returning only data from my account. I want to get total video views from any facebook account. Is there any way for doing this?

Related

graph api to get list of video uploaded on facebook via share dialogue

I need a list of videos uploaded via share dialogue by the user using my app. I can't see any app-specific data added to the video in graph API, however, uploaded videos on Facebook does have the tag of my app when they get added to the feed. I want to track videos uploaded by the user using my app's share dialogue. Can anyone point me in the right direction to achieve this?
This is not a supported feature by the Facebook API. So there is no way to get this done without help from the Facebook team.

Problems when trying to get Instagram stories through the Graph API

Problems when trying to get Instagram stories through the Graph API
Getting Insights Data
To get insights data for an individual media object, send a GET request to the /media/insights edge and include the metric parameter with one or more of the metric values you want returned. Please note the following limitations:
Insights data is not available for media objects within album carousels (children).
Stories insights are only available for 24 hours, even if the stories are archived or highlighted. If you want to get the latest insights for a story before it expires, set up a Webhook for the Instagram topic and subscribe to the story_insights field.
For the insights data Things i tried
https://developers.facebook.com/docs/instagram-api/webhooks
Subscribed the App with the POST call from Graph Explorer api
31231XXXXX/subscribed_apps
How do I Subscribe to the story_insights field of the media object??
Story Metrics
exits
impressions
reach
replies
taps_forward
taps_back

accessing videos uploaded to a page via the Graph API

I need to fetch videos uploaded by users to a Facebook Page.
I'd have expected them to show up in https://graph.facebook.com/me/videos/uploaded, but it appears this only covers videos I've uploaded to my profile, not to a page.
The only place I can find that these show up is https://graph.facebook.com/PageName/tagged, but there they're crammed in amongst all the other stuff and I can't filter to find just the authenticated user's uploads to the page.
Is there a way to get only a specific user's video uploads / tags to a page?
OK, if we’re just talking videos posted to the wall here, I guess you could get that info querying the FQL stream table.
Filter it by:
source_id: The ID of the page whose wall the post is on
actor_id: The ID of the user that published the post
type: "128" - Video posted
Information about the video should be in the attachment column.

FQL doesn't return mobile photos groups uploaded via the Facebook Camera app

It looks like the FQL query to return photos from a user's Mobile Uploads album doesn't return all of a user's uploaded the photos. This is the case for any photo groups (when uploading more than 1 photo at a time) from the Facebook Camera app. These photos get grouped into their own data entity, and do not get returned when I query for all photos from Mobile Uploads via FQL. However, if I do the same query but via the Graph Api, all those photos do get returned, so it looks like there's an inconsistency between the way the Graph Api returns the photos data and the way FQL returns it. The Graph Api seems to return a more comprehensive set of results.
I've found that if you upload multiple photos they gets categorised as a status update and you need the user's "user_status" permission to access them through the API, even though they're in the mobile uploads album (any other photo in there you can access with only the user_photos permission)

How to assign a past date while uploading a photo via Facebook Graph API, so that it gets placed at the right point in Timeline?

Using the Facebook Graph API, I have been able to upload a photo. It is an old scanned photo. I would now like to modify the timestamp, so that it is shown at the appropriate point in the timeline. Does the API provide a way to do this?
Here is an article that says we can assign past dates to Facebook Timeline Posts - http://www.allfacebook.com/facebook-timeline-timestamp-2011-10 . I want to assign a past date to a photo I uploaded, and I would like to do it via the Graph API. Any leads would be helpful.