如何测试Google Plus帐户的存在 [英] How to test Google Plus account existance
问题描述
我正在建立一个网站,用户可以在其中指定他的社交帐户链接,我试图找到一种方法来测试是否存在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/userId
和GET people/+JohnDoe
都可以.
It's the same API. GET people/userId
and GET people/+JohnDoe
both work.
这篇关于如何测试Google Plus帐户的存在的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!