Created
November 7, 2012 14:24
-
-
Save benschwarz/4031901 to your computer and use it in GitHub Desktop.
A YQL table for instagram.user.media.recent
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd" https="true"> | |
<meta> | |
<author>Ben Schwarz</author> | |
<description>Get the recent images for a given user on instagram</description> | |
<documentationURL>http://instagram.com/developer/endpoints/users/#get_users_media_recent</documentationURL> | |
<apiKeyURL></apiKeyURL> | |
</meta> | |
<bindings> | |
<select itemPath="" produces="JSON"> | |
<inputs> | |
<key id="userid" type="xs:string" paramType="path" required="true" /> | |
<key id="count" type="xs:string" paramType="query" /> | |
<key id="access_token" type="xs:string" paramType="query" required="true" /> | |
</inputs> | |
<execute> | |
<![CDATA[ | |
response.object = y.rest('https://api.instagram.com/v1/users/{userid}/media/recent/?access_token={access_token}').get().response; | |
]]> | |
</execute> | |
</select> | |
</bindings> | |
</table> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment