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

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

问题描述

据我所知,没有用于从相册中获取照片的官方 G+ API.但我从此处发现 Google Plus 在内部使用 Picasa.

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.

我的问题是:

  1. 是否可以仅通过 G+ API Picasa userId 来确定?
  2. 如果是,如果我只有 Google Plus 页面 URL(类似这样:https://plus.google.com/104560124403688998123 - 或 - https://plus.google.com/115999964287637644901) ?
  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) ?

提前致谢.

推荐答案

您从中了解"的链接告诉您需要了解的内容.页面 URL 中的第一个大数字是 UserID.从那里你可以调用类似的东西:

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.

缺点?很快,Google 无疑会通过为照片实现真正的 G+ API 来改变这一切.

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天全站免登陆