The Facebook Graph API does not include videos in wall posts - facebook-graph-api

I'm using the Graph API to read some wall posts from a Facebook group. I get an array with post objects containing the expected information except for one entry with the type "status" which is a posted video.
But I do not get any information about the video. There is no difference between a default text-only post. How can I access the video URL, thumbnail, etc.?
Edit:
The video is a "native" facebook video. I do not fully understand the various types of posts. When you post a plain url facebook grabs the meta information and displays them properly. But it seems this is not included in the api output.
Where are the differences between shared contens, status updates including urls and status updates with photos or videos?

Related

Instagram post's video link from share url

I'm making an android app that fetches the intagram post details from the post's share url.
For eg. for getting this https://www.instagram.com/p/Bjzikp0nQG0 post details I'm using Instagram api https://api.instagram.com/oembed/?url=https://www.instagram.com/p/Bjzikp0nQG0 to get the post details.
But if the post is video I'm only getting thumbnail. I searched a bit and found instagram deprecated the media endpoint. So I found instagram graph api's media endpoint https://developers.facebook.com/docs/instagram-api/reference/media/#metadata can be used to get the information.
But the final problem is this above graph api require a numeric id of the post to get the details and nowhere in the documentation mentioned how to convert instagram post's share link to post id.

Facebook Graph Not Getting All Photo Posts

I'm trying to get all posts from a facebook page for the last two years. Access token is my own which has manage_pages, publish_pages, show_page_list.
The posts are there, they're moderately old early 2016, but, graph doesn't bring them back these older ones. They were scheduled posts, visibility=everyone and of 'photo' type. Any query on {page}\feed, {page}\photos, or {page}\posts yields only a couple of posts.
Facebook Insights Screenshot
https://pasteboard.co/Hde6ZWU.png
Graph Explorer Output Screenshot
https://pasteboard.co/Hde7iDP.png
Does anyone know how to enumerate these posts with graph, or know of the reason why graph isn't reporting them using the get/feed and get/photos command?
These aren’t photos, they are posts.
1409847682673697/posts?since=2016-01-01&until=2016-02-01
shows the first post from your dashboard screenshot, “Andrew Smith - Malta”, just fine.
This is a share of a post onto your page only - the “original” is https://www.facebook.com/andrewmsmithart/photos/a.1533059820295875.1073741827.1533035286964995/1648921165376406/ But since that is not a photo uploaded by your page nor has your page tagged in it, naturally it doesn’t show when you request your page’s photos.
The object_id field of your page post refers the actual photo object.

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.

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.

Using the Facebook Graph API for posting a customized image on user's facebook wall

In my Facebook app the user can assemble a couple of small images to a larger image. Is it at all possible to post this image to the user's wall without posting it as a photo?
As far as I can see, the alternative would be to post a link to a web page that contains the og:image meta tag but this appears to be quite cumbersome since I'm dealing with a customized image.
Is there any another way to post the image to the wall?
Tried with the picture property on the post object which worked. For some reason it didn't work when I tried it some weeks back.