Google Plus API&相片? [英] Google Plus API & photos?

查看:134
本文介绍了Google Plus API&相片?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

据我所知,没有官方的G + API可以从相册中获取照片。
但我从这里得知Google Plus在内部使用Picasa。



我的问题是:


  1. 是否可以通过G + API Picasa userId?

  2. 如果是,如果我只有Google Plus网页网址(如下所示: https://plus.google.com/104560124403688998123 - 或 - https://plus.google.com/115999964287637644901 )?

非常感谢。

解决方案

你从中找出它的链接告诉你需要知道的内容。该页面URL中的第一个大数字是UserID。从那里你可以调用类似于:



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



,它会给你一个可用的专辑列表。从那里钻取。

缺点?不久之后,Google无疑将通过为照片实施真正的G + API来改变这一切。


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.

解决方案

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.

这篇关于Google Plus API&相片?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆