forked from spullara/yql-tables
-
Notifications
You must be signed in to change notification settings - Fork 1
/
facebook.friends.getMutualFriends.xml
2 lines (2 loc) · 1.25 KB
/
facebook.friends.getMutualFriends.xml
1
2
<?xml version="1.0" encoding="UTF-8"?>
<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd"><meta><author>Sam Pullara</author><documentationURL>http://wiki.developers.facebook.com/index.php/Friends.getMutualFriends</documentationURL></meta><bindings><select itemPath="" produces="XML"><urls><url>http://api.facebook.com/restserver.php</url></urls><inputs><key id="secret" paramType="variable" required="true" type="xs:string"/><key id="fb_sig_session_key" paramType="variable" required="true" type="xs:string"/><key id="fb_sig_api_key" paramType="variable" required="true" type="xs:string"/><key id="target_uid" paramType="variable" type="xs:string"/><key id="source_uid" paramType="variable" type="xs:string"/></inputs><execute>y.include("http://www.javarants.com/facebook/facebook.js");var params = {call_id: "" + new Date().getTime(),v: "1.0",api_key: fb_sig_api_key,session_key: fb_sig_session_key,format: "xml",target_uid:target_uid,source_uid:source_uid,method: "Friends.getMutualFriends"};response.object = y.rest("http://api.facebook.com/restserver.php").contentType("application/x-www-form-urlencoded").post(sign(params)).response;</execute></select></bindings></table><!-- yqlengine1.pipes.sp1.yahoo.com uncompressed/chunked Thu Sep 10 20:59:25 PDT 2009 -->