{{>yql-mock-config}}
In this example, the Flickr Recent Photos YQL table is used to pull in a small set of recent Flickr images every 8 seconds.
The easiest way to build a YQL query is by visiting the YQL Console. In this example we will be using the flickr.photos.recent
table. The YQL
statement that we are using looks like this:
Now we need to create our YUI instance and tell it to load the yql
and node
modules.
Now that we have a YUI instance with the yql
module, we can now make a query.