通过user_id获取Google Plus封面URL [英] Get Google Plus cover URL by user_id

查看:112
本文介绍了通过user_id获取Google Plus封面URL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有一种方法可以通过使用URL获取google +帐户的个人资料图片?

Is there a way to get the profile picture for a google+ account by using an URL ?

我知道我们可以通过以下操作来获取照片: https ://plus.google.com/s2/photos/profile/1234567890?sz = 200 ,我需要类似的东西才能获得个人资料封面照片.

I know that we can get the photo by doing something like: https://plus.google.com/s2/photos/profile/1234567890?sz=200 and I need something similar to get the profile cover photo.

推荐答案

这取决于您拥有的URL,如果您具有用户的Google+ ID,则可以检索其个人资料,其中包含指向其个人资料的链接.一个例子:

It depends on the URL you have, if you have the user's Google+ ID, you can then retrieve their profile, which contains a link to their profile. An example:

获取封面照片的Api Explorer演示

如果未自动添加,请将字段值设置为cover/coverPhoto/url.

Set the fields value to cover/coverPhoto/url if it's not getting added automatically.

这篇关于通过user_id获取Google Plus封面URL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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