如何测试Google Plus帐户的存在 [英] How to test Google Plus account existance

查看:71
本文介绍了如何测试Google Plus帐户的存在的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在建立一个网站,用户可以在其中指定他的社交帐户链接,我试图找到一种方法来测试是否存在google plus帐户(社交帐户验证).

I am building a website where a user could specify his social accounts links, I am trying to find a way to test if a google plus account actually exists (social account validation).

我已经看到实际上可以使用 GET people/userId 进行测试,但是curtur url呢?例如,如果用户拥有google.com/+JohnDoe,您将如何解决?我没有在Google文档中找到任何内容.

I've seen that it is actually possible to test using the GET people/userId but what about curtom urls ? For example if a user has a google.com/+JohnDoe , how would you figure it out? I didn't find anything in the google docs.

推荐答案

它是相同的API. GET people/userIdGET people/+JohnDoe都可以.

It's the same API. GET people/userId and GET people/+JohnDoe both work.

这篇关于如何测试Google Plus帐户的存在的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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