这个网站的方法是什么?他们的个人资料的ID,信息如何检索?
有没有Google +的API ?
事情就是这样开始的。我输入了大概30个资料。
我正在研究一个非官方的php api,可以提取公共配置文件和关系数据。你可以用它来做类似的事情。
这是GitHub上的源代码:https://github.com/jmstriegel/php.googleplusapi
查看tests/plususer.php
中如何使用它的示例。
你基本上可以这样做:
$followees = PlusPerson::FetchVisiblePlusPeople( $googleplus_id );
$followers = PlusPerson::FetchIncomingPlusPeople( $googleplus_id );
…它会给你一个这个人圈子里的人的数组,以及一个圈过这个人的人的数组。
API现已在:http://googlecode.blogspot.com/2011/09/getting-started-on-google-api.html公布,官方主页是:http://developers.google.com/+/
Google说很快就会有一个API 。我怀疑他们正在做的是解析公共个人资料页面以获取统计数据。
明白了。我从搜索
中获取id前十页:http://phpcode.eu/google/