Getting photo timestamp using Drive API - api

As Google Photos API is not available yet, I am trying to fetch Photos information over Drive API.
I can access all interested information except one: Photo Timestamp - the value used by Google Photos to order photos in albums and the timeline.
In Google Photos web interface it is possible to set Photo Timestamp including a time zone. This information is not available over Drive API.
For example, you can change Photo Timestamp by editing Data & Time of the photo in Google Photos web interface, but this change will not be reflected in any of the fields that are exposed through Drive API for pictures.
Do I miss anything?

There is no Google Photos version of 'timestamp' in Drive API. The only way you can access gphoto:timestamp element is to use Picasa Web Albums Data API.
For example when I ran
https://picasaweb.google.com/data/feed/api/user/default
in my browser, it returned a feed of album entries. The timestamp element looks like this:
< gphoto:timestamp >1118992182000< /gphoto:timestamp >
You can read more of that in the guide. Hope this helps.

Related

Get search terms keywords from traffic source of video using Youtube Data Api v3

I want to get search keywords from traffic source of video using Youtube Data Api.
I can already view 8-10 on the Dashboard, but most of the time, the video is in 1000 views and although I see 7-8, the api returns empty or only takes one. how can i solve this problem? I will be glad if you help.

Strava API - Retrieve activity photos with metadata

I'm trying to use the Strava API to acquire the pictures of an activity and to get their location - based on the metadata (similar to what is performed on apps like www.relive.cc).
I'm facing two issues :
Only the primary photos is shown in the retrieved data from the API, although the activity has several photos.
The picture I manage to get (sample here) does not include any metadata, so I'm not able to retrieve any location information.
did you have any progress on that? Im researching how could I have the activity photos initially. Later on, photo metadata would be also nice.

Fetching owner-uploaded or user-uploaded photos from Google Maps

I would like to fetch user-uploaded or owner-uploaded photos of locations using some Google API.
For example:
In this place: http://g.co/maps/pxbse , you can see an owner-uploaded photo of this place in the place's popup window on the map. Additionally, if you click on this photo, you'll be taken to a more detailed page about this place where you can see a list of photos uploaded either by the owner or other google users.
Is there any way to fetch these photos by using the Google Maps API?
(Please note: I have checked out Panoramio and Google Street View API and these do not suit my needs)
There is no way to get that photo at this point. The Google Places API does not support retrieving the photo.
What you're looking at is a Google Place. You would access this data using the Google Places API.
Update: You're right. The API mentions an icon URL that's included in a place details response, but doesn't seem to indicate all the owner uploaded images.
What I recommend is attending the Google Maps API office hours on May 1, 2012 at 13:00 Pacific Time. There is a Google Moderator set up to post questions before hand. You can attend the hangout using Google Plus (make sure to follow +Google Maps API) or they stream them to YouTube live.

Is there an efficient way to obtain my friend's photos from Facebook API?

A little background info; I'm making an iOS App that uses facebook integration. I am using Parse (www.parse.com) as my back-end to store the facebook ids, and anything else I need for my App. On the app, I have three views which show the following: My photos, My friends, My Public photos. These are not ALL photos, but just the ones that correspond to the App (Similar to when you upload a photo from your phone, it uploads to the "Mobile Uploads" album). Getting my photos and my public photos is easy since I just make a query to parse requesting the photo ids whose author is me.
Now my full question is the following. If I were to have an Array containing all of my friend's facebook IDs, is there a way to obtain all their photos that correspond to my App WITHOUT iterating for each element in this array? I do not wish to do this since it would mean sending N requests to the server, which is not so efficient. Does any one know a work around to this?
Use FQL to query for the photos in your app's albums (https://developers.facebook.com/docs/reference/fql/photo/). aid==album id.
You can narrow the search using and IN clause tied to the specific album id's you want http://developers.facebook.com/docs/reference/fql/album/

How to programmatically retrieve the total number of Google +1's for a URL

Now that Google has officially released their +1 button for websites, I'd like to find a way to retrieve the total number of +1's for a specific URL programmatically.
For example, I'd like to access this value independently of the +1 button for use in tooltips, as shown for RSS subscribers below.
More information on the +1 button: https://code.google.com/apis/+1button/
Google+ metrics: Activity by URL gives the sum total of all +1's for a URL, as well as the number of +1's for a specified time frame. It is only accessible via Google Analytics on the webmaster dashboard.
EDIT
Google now has an API for retrieving Google +1's. It is still in early developer preview though. Google+ History API tells you how to sign up for the preview.