简体   繁体   English

Google Plus Api 人员信息

[英]Google Plus Api people information

i'm building a PHP site where i have to sync the users social data, and he's social connections data.我正在构建一个 PHP 站点,我必须在其中同步用户社交数据,而他是社交连接数据。 Using GoolePlus API, it gives me the users connections (friends) list and i have to make a profile request for each person to get his profile info.使用 GoolePlus API,它为我提供了用户连接(朋友)列表,我必须为每个人发出个人资料请求以获取他的个人资料信息。 Is there any way of getting the list of people with thei information in 1 request?有没有办法在 1 个请求中获取包含他们信息的人员列表? (somethin like linkedin request for connections) (类似于对连接的linkedin请求)

The people.list response includes basic profile info (name, ID, URL, image). people.list响应包括基本的个人资料信息(姓名、ID、URL、图像)。 If you need more profile details you will have to call people.get .如果您需要更多个人资料详细信息,则必须致电people.get You can however batch requests where you batch say 50 people.get requests together, send it to Google where Google unspools the requests and performs them individually.但是,您可以批量处理请求,例如将 50 个人一起发送。将请求发送到谷歌,谷歌在那里解开请求并单独执行。 The results are then returned to you all at the same time.结果会同时返回给您。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM