Fragment: Looking up Who’s in Whose Google+ Circles…

Just a quick observation about how to grab the lists of circles an individual is in on Google+, and who’s in their circles… From looking at the HTTP calls that are made when you click on the ‘View All’ links for who’s in a person’s circles, and whose circles they are in, on their Google Profile page, we see URLs of the form:

– in X’s circles:
https://plus.google.com/u/0/_/socialgraph/lookup/visible/?o=%5Bnull%2Cnull%2C%22GOOGLEPLUSUSERID%22%5D&rt=j

– in whose circles?
https://plus.google.com/u/0/_/socialgraph/lookup/incoming/?o=%5Bnull%2Cnull%2C%22GOOGLEPLUSUSERID%22%5D&n=1000&rt=j

You can find the GOOGLEPLUSUSERID by looking in the URL of a person’s Google+ profile page. I’m not sure if the &rt=j is required/what it does exactly?

Results are provided via JSON some crappy hacky weird format, with individual records of the form:

[[,,"101994985523872719331"]
,[]
,["Liam Green-Hughes",,,,"4af0a6e759a1b","EIRbEkFnHHwjFFNFCJwnCHxA", "BoZjAo3532KEBnJjHkFxCmRz",,"//lh5.googleusercontent.com/-z4ZRcOrNx7I/AAAAAAAAAAI/AAAAAAAAAAA/cQBO1TSuucI/photo.jpg",,1,
"Milton Keynes",,,"Developer and blogger",0,,[]
]
,[]
]

A scratch API, of a sort, is available form http://html5example.net/entry/tutorial/simple-python-google-plus-api

Note that these connections don’t seem to be available via the Google Social Graph API? (Try popping in the URL to your Google+ profile page and see who it thinks you’re linked to…)

3 comments

  1. Pingback: Using Google Spreadsheets to extract Google+ friend/follower information for analysis in NodeXL, Gephi et al. – MASHe
  2. Julien Amelot

    great post!
    The file seems to contain only the followers that interacted or the top contributors? only about a third of my followers appear in the file… any idea why?