Permalink
Browse files

new facebook graph api

  • Loading branch information...
1 parent 5da2526 commit fd9fa71f723df06fb103f1565c4090b53e18f73e @ptarjan ptarjan committed with ptarjan Apr 24, 2010
Showing with 54 additions and 0 deletions.
  1. +54 −0 facebook/facebook.graph.xml
View
54 facebook/facebook.graph.xml
@@ -0,0 +1,54 @@
+<?xml version="1.0"?>
+<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd">
+ <meta>
+ <author>Paul Tarjan</author>
+ <description>Facebook Graph API</description>
+ <documentationURL>http://graph.facebook.com</documentationURL>
+ <sampleQuery>SELECT * FROM facebook.graph WHERE id='218471'</sampleQuery>
+ </meta>
+ <bindings>
+ <select produces="JSON" itemPath="">
+ <urls>
+ <url>http://graph.facebook.com/{id}/{connection}</url>
+ </urls>
+ <paging model="offset">
+ <start default="0" id="offset"/>
+ <pagesize max="1000" id="limit"/>
+ </paging>
+ <inputs>
+ <key id="id" type="xs:string" paramType="path" required="true" />
+ <key id="connection" type="xs:string" paramType="path" required="true" />
+ <key id="access_token" type="xs:stirng" paramType="query" required="false" />
+ </inputs>
+ </select>
+ <select produces="JSON" itemPath="">
+ <urls>
+ <url>http://graph.facebook.com</url>
+ </urls>
+ <inputs>
+ <key id="ids" type="xs:string" paramType="query" required="true" />
+ <key id="fields" type="xs:string" paramType="query" required="false" />
+ <key id="access_token" type="xs:stirng" paramType="query" required="false" />
+ </inputs>
+ </select>
+ <select produces="JSON" itemPath="">
+ <urls>
+ <url>http://graph.facebook.com/{id}</url>
+ </urls>
+ <inputs>
+ <key id="id" type="xs:string" paramType="path" required="true" />
+ <key id="access_token" type="xs:stirng" paramType="query" required="false" />
+ </inputs>
+ </select>
+ <select produces="JSON" itemPath="">
+ <urls>
+ <url>http://graph.facebook.com/search</url>
+ </urls>
+ <inputs>
+ <key id="q" type="xs:string" paramType="query" required="true" />
+ <key id="type" type="xs:string" paramType="query" required="true" />
+ <key id="access_token" type="xs:stirng" paramType="query" required="false" />
+ </inputs>
+ </select>
+ </bindings>
+</table>

0 comments on commit fd9fa71

Please sign in to comment.