Skip to content

Commit

Permalink
new facebook graph api
Browse files Browse the repository at this point in the history
  • Loading branch information
ptarjan committed Apr 24, 2010
1 parent 5da2526 commit fd9fa71
Showing 1 changed file with 54 additions and 0 deletions.
54 changes: 54 additions & 0 deletions 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.