Profile About Page Links in the API
I just went looking in the people section of the G+ API for access to and a JSON representation of the entries in the Links section of a person's profile and couldn't find anything. Am I looking in the wrong place or is it missing and this is a feature request?
I'd expect something like this.
"Links": [
"Other Profiles": [
{
"Label" : {string},
"URL" : {string}
}
]
"Contributor to": [
{
"Label" : {string},
"URL" : {string}
}
]
"Links": [
{
"Label" : {string},
"URL" : {string}
}
]
]
This was prompted by yet another proposal for encoding a list of people's profile pages on other social networks, this time from Dave Winer. His use case is information about the author in RSS feeds.
http://reboot.reallysimplesyndication.com/2013/07/28/implementingSomeNewRssIdeasInFargo
ISTM the Google way of doing this would be to include a line
<atom:link href="Google_Profile_URL" rel="[author,publisher]" /> in the feed but I couldn't then easily walk the list of associated profiles from code.
BTW. I can't count the number of times we've been round this loop in the last 10 years. FOAF, Microformats, Facebook graphs, etc, etc, etc. Shame we have to keep re-inventing the wheel because none of them can get traction, adoption and interop..
This would look like this, if it worked correctly:
"urls": [
{
"value": "https://github.com/Scarygami/",
"label": "github",
"type": "otherProfile"
},
{
"value": "http://life.scarygami.net/",
"label": "Life, the Universe and Everything",
"type": "contributor"
},
{
"value": "http://www.gdg-vienna.at/",
"label": "GDG Vienna",
"type": "other"
}
]
but gets returned like this at the moment:
"urls": [
{
"value": "https://github.com/Scarygami/",
"label": "github"
},
{
"value": "http://life.scarygami.net/",
"label": "Life, the Universe and Everything"
},
{
"value": "http://www.gdg-vienna.at/",
"label": "GDG Vienna",
"type": "other"
}
]
Yes, the "other" type is actually returned correctly, but no difference between otherProfile and contributor is made.
Related issue: https://code.google.com/p/google-plus-platform/issues/detail?id=16
+Julian Bond we keep reinventing the wheel because none of the earlier attempts got "traction, adoption and interop"
- URL of the profile page
- Profile_id
- Name of the service
- Relationship to current document
So maybe XML for embedding in Atom, RSS, HTML
<atom:link href="Profile_URL" profile_id="YASN_Userid" service="YASN_Name" rel="[author,publisher,me]" dc:title="text_label" type="[Other profiles,Contributor to,Links,etc]" />
or in JSON
url {
"value": "Profile_URL",
"profileId": "YasnUserid",
"service": "YasnServiceName",
"label": "textLabel"
"relationship": "[author,publisher,me]"
"type": "[Other profiles,Contributor to,Links,etc]"
}
But now I'm getting away from the G+ API to a more general case.
[1]Yet Another Social Network