Google+ statistics
What's m开发者_Python百科ethod of this site? How are their profile's ID, information retreived ?
Is there any Google API for google+ ?
That is how it started. I entered maybe 30 profiles. The rest was added manually by visitors...
I'm working on an unofficial php api that can pull public profile and relationship data. You could probably use it to do something similar.
Here's the source on GitHub: https://github.com/jmstriegel/php.googleplusapi
Look in tests/plususer.php
for an example of how to use it.
You can basically do something like this:
$followees = PlusPerson::FetchVisiblePlusPeople( $googleplus_id );
$followers = PlusPerson::FetchIncomingPlusPeople( $googleplus_id );
...which will give you an array of people a person has in their circles, and an array of people that have circled the person.
The API has now been announced at: http://googlecode.blogspot.com/2011/09/getting-started-on-google-api.html and the official homepage is: http://developers.google.com/+/
Google says there is going to be an API soon. What I suspect they are doing is parsing the public profile page go get the stats.
Got it. I'm taking Ids from search
First ten pages: http://phpcode.eu/google/
精彩评论