{"id":728,"date":"2008-02-04T00:18:55","date_gmt":"2008-02-03T23:18:55","guid":{"rendered":"http:\/\/notizblog.org\/2008\/02\/04\/googles-social-graph-api\/"},"modified":"2024-04-12T12:22:06","modified_gmt":"2024-04-12T10:22:06","slug":"googles-social-graph-api","status":"publish","type":"post","link":"https:\/\/notiz.blog\/2008\/02\/04\/googles-social-graph-api\/","title":{"rendered":"Googles Social Graph API"},"content":{"rendered":"\n<p>Wie schon <a href=\"http:\/\/mrtopf.de\/blog\/web20\/google-offnet-den-social-graph\/\">mehrfach<\/a> <a href=\"https:\/\/web.archive.org\/web\/20100819092610\/http:\/\/notsorelevant.com:80\/2008-02-03\/one-more-step-to-open-the-social-graph\/\">berichtet<\/a> wurde, hat Google mit der <em><a href=\"http:\/\/code.google.com\/apis\/socialgraph\/\">Social Graph <abbr title=\"Application Programming Interface\">API<\/abbr><\/a><\/em> einen gro\u00dfen Schritt in Richtung <a href=\"https:\/\/de.wikipedia.org\/wiki\/Dataportability#Das_Projekt\">DataPortability<\/a> gemacht. Die <em>Social Graph <abbr title=\"Application Programming Interface\">API<\/abbr><\/em> ist eine weiterer Coup von <a href=\"http:\/\/bradfitz.com\/\">Brad Fitzpatrick<\/a> (<a href=\"http:\/\/livejournal.com\">Live Journal<\/a>, memcached und <a href=\"http:\/\/openid.net\">OpenID<\/a>) und bietet eine einfache <abbr title=\"Application Programming Interface\">API<\/abbr> um &#8222;public connections&#8220; die man zu gen\u00fcge im Netz erstellt hat zu interpretieren um wiederverwendbar zu machen.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>With the Social Graph API, developers can now utilize public connections their users have already created in other web services. It makes information about public connections between people easily available and useful.<\/p><\/blockquote>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"alignleft\"><img decoding=\"async\" src=\"https:\/\/notiz.blog\/wp-content\/uploads\/2008\/02\/the-web.jpg\" alt=\"Social Graph API\"\/><\/figure><\/div>\n\n\n\n<p> Die Google <abbr title=\"Application Programming Interface\">API<\/abbr> setzt haupts\u00e4tzlich auf das <a href=\"http:\/\/microformats.org\">Microformat<\/a> <abbr title=\"Xhtml Friends Network\"><a href=\"http:\/\/gmpg.org\/xfn\/11\">XFN<\/a><\/abbr> (<abbr title=\"Version\">V<\/abbr> 1.1) zum darstellen des Sozialen Netzes.<\/p>\n\n\n\n<p><em>XHTML Friends Network<\/em> benutzt das <code>rel<\/code> Attribut von Links um Verbindungen zwischen Personen darzustellen. <code>&lt;a rel=\"me\" \/&gt;<\/code> kennzeichnet z.B. eine weitere Webseite des Verlinkenden. Weitere Formate (bei Google <a href=\"http:\/\/code.google.com\/apis\/socialgraph\/docs\/edges.html\">Edge Types<\/a>) sind das auf RDF basierende <abbr title=\"Friend of a Friend\"><a href=\"https:\/\/de.wikipedia.org\/wiki\/FOAF\">FoaF<\/a><\/abbr> und OpenID delegation Links <code>&lt;link rel=\"openid.delegate\" \/&gt;<\/code>.<\/p>\n\n\n\n<p>Die <abbr title=\"Application Programming Interface\">API<\/abbr> ist recht simple und l\u00e4sst sich komplett \u00fcber URL Key\/Value Paare konfigurieren&#8230;<\/p>\n\n\n\n<p><code>http:\/\/socialgraph.apis.google.com\/lookup?&lt;parameter 1&gt;&amp;&lt;parameter 2&gt;&amp;&lt;parameter n&gt;<\/code><\/p>\n\n\n\n<p>&#8230;und stellt die Ergebnisse in <abbr title=\"JavaScript Object Notation\">JSON<\/abbr> dar.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Social Graph API Client<\/h4>\n\n\n\n<p><a href=\"https:\/\/web.archive.org\/web\/20080730152357\/http:\/\/redmonk.net\/\">Steve Ivy<\/a> einer der Gr\u00fcnder des <a href=\"http:\/\/diso-project.org\/\"><abbr title=\"Distributed Social Network\">DiSo<\/abbr> Projekts<\/a> hat eine <em>Social Graph <abbr title=\"Application Programming Interface\">API<\/abbr><\/em> Client Klasse in PHP geschrieben und im <a href=\"https:\/\/web.archive.org\/web\/20140208170446\/http:\/\/diso.googlecode.com:80\/svn\/php\/sgapi\/\">DiSo SVN<\/a> zur Verf\u00fcgung gestellt.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>I wrote a quick and dirty client in PHP that cosumes the JSON and returns it in a data structure. <a href=\"http:\/\/groups.google.com\/group\/diso-project\/browse_thread\/thread\/41e6436cf6d97f26\">#<\/a><\/p><\/blockquote>\n\n\n\n<p><br> Eine kleine Einf\u00fchrung in die <em>Social Graph <abbr title=\"Application Programming Interface\">API<\/abbr><\/em> vom Autor selbst:<\/p>\n\n\n\n<!--more-->\n\n\n\n<figure class=\"wp-block-embed-youtube alignwide wp-block-embed is-type-video is-provider-youtube aligncenter wp-embed-aspect-4-3 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n\t\t<div class=\"embed-privacy-container is-disabled embed-youtube\" data-embed-id=\"oembed_ccbd3b2c63b5c498fdcf27adc671b8b4\" data-embed-provider=\"youtube\" style=\"background-image: url(https:\/\/notiz.blog\/wp-content\/uploads\/embed-privacy\/thumbnails\/youtube-LabCylbapuM-hqdefault.jpg?ver=1.12.3); aspect-ratio: 700\/525;\">\t\t\t\t\t\t<button type=\"button\" class=\"embed-privacy-enable screen-reader-text\">\u201eIntroduction to the Social Graph API\u201c von YouTube anzeigen<\/button>\t\t\t\t\t\t<div class=\"embed-privacy-overlay\">\t\t\t\t<div class=\"embed-privacy-inner\">\t\t\t\t\t<div class=\"embed-privacy-logo\" style=\"background-image: url(https:\/\/notiz.blog\/wp-content\/plugins\/embed-privacy\/assets\/images\/embed-youtube.png?ver=1.12.3);\"><\/div>\t\t<p>\t\tHier klicken, um den Inhalt von YouTube anzuzeigen.\t\t\t\t\t<br>\t\t\t\t\tErfahre mehr in der <a href=\"https:\/\/policies.google.com\/privacy?hl=de\" target=\"_blank\">Datenschutzerkl\u00e4rung von YouTube<\/a>.\t\t<\/p>\t\t<p class=\"embed-privacy-input-wrapper\">\t\t\t<input id=\"embed-privacy-store-youtube-ccbd3b2c63b5c498fdcf27adc671b8b4\" type=\"checkbox\" value=\"1\" class=\"embed-privacy-input\" data-embed-provider=\"youtube\">\t\t\t<label for=\"embed-privacy-store-youtube-ccbd3b2c63b5c498fdcf27adc671b8b4\" class=\"embed-privacy-label\" data-embed-provider=\"youtube\">\t\t\t\tInhalt von YouTube immer anzeigen\t\t\t<\/label>\t\t<\/p>\t\t\t\t\t\t<\/div>\t\t\t\t\t\t\t\t<div class=\"embed-privacy-footer\"><span class=\"embed-privacy-url\"><a href=\"https:\/\/www.youtube.com\/watch?v=LabCylbapuM\">\u201eIntroduction to the Social Graph API\u201c direkt \u00f6ffnen<\/a><\/span><\/div>\t\t\t<\/div>\t\t\t\t\t\t<div class=\"embed-privacy-content\">\t\t\t\t<script>var _oembed_ccbd3b2c63b5c498fdcf27adc671b8b4 = '{\\\"embed\\\":\\\"&lt;iframe title=&quot;Introduction to the Social Graph API&quot; width=&quot;700&quot; height=&quot;525&quot; src=&quot;https:\\\\\/\\\\\/www.youtube-nocookie.com\\\\\/embed\\\\\/LabCylbapuM?feature=oembed&quot; frameborder=&quot;0&quot; allow=&quot;accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share&quot; referrerpolicy=&quot;strict-origin-when-cross-origin&quot; allowfullscreen&gt;&lt;\\\\\/iframe&gt;\\\"}';<\/script>\t\t\t<\/div>\t\t<\/div>\t\t\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Wie schon mehrfach berichtet wurde, hat Google mit der Social Graph API einen gro\u00dfen Schritt in Richtung DataPortability gemacht. Die Social Graph API ist eine weiterer Coup von Brad Fitzpatrick (Live Journal, memcached und OpenID) und bietet eine einfache API um &#8222;public connections&#8220; die man zu gen\u00fcge im Netz erstellt hat zu interpretieren um wiederverwendbar [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"webmentions_disabled_pings":false,"webmentions_disabled":false,"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":4,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"federated","footnotes":""},"categories":[2],"tags":[418,478,470,5171,123,164,506,165],"class_list":{"0":"post-728","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-web","7":"tag-api","8":"tag-dataportability","9":"tag-diso","10":"tag-fediblog","11":"tag-google","12":"tag-microformats","13":"tag-social-graph","14":"tag-xfn","15":"h-entry","16":"hentry"},"_links":{"self":[{"href":"https:\/\/notiz.blog\/wp-api\/wp\/v2\/posts\/728","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/notiz.blog\/wp-api\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/notiz.blog\/wp-api\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/notiz.blog\/wp-api\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/notiz.blog\/wp-api\/wp\/v2\/comments?post=728"}],"version-history":[{"count":3,"href":"https:\/\/notiz.blog\/wp-api\/wp\/v2\/posts\/728\/revisions"}],"predecessor-version":[{"id":25260,"href":"https:\/\/notiz.blog\/wp-api\/wp\/v2\/posts\/728\/revisions\/25260"}],"wp:attachment":[{"href":"https:\/\/notiz.blog\/wp-api\/wp\/v2\/media?parent=728"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/notiz.blog\/wp-api\/wp\/v2\/categories?post=728"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/notiz.blog\/wp-api\/wp\/v2\/tags?post=728"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}