Google Plus API & photos?

user2435612 picture user2435612 · May 30, 2013 · Viewed 10.2k times · Source

As I understand, there's no official G+ API for getting photos from albums. But I've figured out from here that Google Plus uses Picasa internally.

My questions are:

  1. Is it possible to figure out only via G+ API Picasa userId?
  2. If yes, how can I do it with G+ API if I only have the Google Plus page URL(something like this: https://plus.google.com/104560124403688998123 - or - https://plus.google.com/115999964287637644901) ?

Thanks in advance.

Answer

Tony Maro picture Tony Maro · Sep 27, 2013

The link you "figured it out from" tells what you need to know. That first big number in the page URL is the UserID. From there you can call something like:

https://picasaweb.google.com/data/feed/api/user/115999964287637644901

and it will give you a list of the albums available. Drill down from there.

Downside? Sometime soon Google is no doubt going to change all this by implementing a real G+ API for photos.