Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: d85e325d18
Fetching contributors…

Cannot retrieve contributors at this time

53 lines (49 sloc) 1.817 kb
<?xml version="1.0" encoding="UTF-8"?>
<table xmlns="" https="true">
<author>Zach Graves (</author>
<description>Twitter OAuth API</description>
<sampleQuery>select * from {table} where id='mlaaker';</sampleQuery>
<select itemPath="ids" produces="XML">
<key id="id" type="xs:string" paramType="path" required="true"/>
<key id="format" type="xs:string" paramType="path" default="xml"/>
<key id="oauth_consumer_key" type="xs:string" paramType="variable" required="false"/>
<key id="oauth_consumer_secret" type="xs:string" paramType="variable" required="false"/>
<key id="oauth_token" type="xs:string" paramType="variable" required="false"/>
<key id="oauth_token_secret" type="xs:string" paramType="variable" required="false"/>
if(oauth_consumer_key && oauth_consumer_secret && oauth_token && oauth_token_secret) {
var accessor = {};
accessor.consumerKey = oauth_consumer_key;
accessor.consumerSecret = oauth_consumer_secret;
accessor.realm = request.url;
accessor.token = oauth_token;
accessor.tokenSecret = oauth_token_secret;
response.object = sendRequest({
action: request.url,
method: 'GET',
accessor: accessor,
parameters: null
} else {
try {
response.object = request.get().response;
} catch(err) {
response.object = {'result':'failure', 'error': err};
Jump to Line
Something went wrong with that request. Please try again.