API photo datetime taken - facebook-graph-api

I need to get photos from a album via Facebook API and I also need a datetime taken of the photos. Is is still not possible? Isn't it there some workaround? Thanks

Facebook doesn't give you a taken time on their photos, only a time when the photo was uploaded to the Facebook system via the created field in FQL or created_time in the Graph API.
You could try downloading the largest version of a photo Facebook has on their system and checking for EXIF data. I doubt that there will be any.

Related

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.

photo not in any album facebook

i've noticed that there are some photos that doesn't appear in any albums. This photos are published by fan on a facebook page.
Is there any way to get this photos by the API ?
The API call /feed returns all the posts of the wall, but many of this photo that i seen in the wall on browser doesn't appear in the response of the API.
Any idea ?
Try using below
https://graph.facebook.com/<YOUR_PAGE_NAME>/picture
Hope this help
Kaushik
I use
graph.facebook.com/PAGEID/photos
Permissions Needed: user_photo_video_tags or friends_photo_video_tags.
refer to: http://developers.facebook.com/docs/reference/api/user/ user photos
http://developers.facebook.com/tools/explorer/?method=GET&path=me%2Fphotos
I have a live example of this usage is you wish to test. it is an iframe plugin that feeds the photos for a page. "is not set up for users".
Just replace "anotherfeed" page user name with any page.
https://anotherfeed.com/api.beta.php?type=photos&pageid=anotherfeed&width=350&height=500&limit=20&offset=0

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.

how to get to which album a photo belongs by facebook graph api

Using facebook graph api, I can retrieve an alubm obejct by sending a request to
graph.facebook.com/99394368305 (Coca-Cola fan page wall photos)
I can also retrieve a photo obejct by sending a request to
graph.facebook.com/98423808305 (A photo from the Coke fan page)
However the returned JSON string doesn't contain information which album the photo belongs to.
Is there any work around solution?
my dear its simple solution is to query the photo table of facebook using FQL if you are having aid and pid.
http://developers.facebook.com/docs/reference/fql/photo/