Permalink
Browse files

Updated query.

  • Loading branch information...
1 parent 3c5bb67 commit f0af949af8d30a6372fa32fc821eb059c36338c9 Joe Catera committed Oct 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/dev_guide/code_exs/binding_events.rst
@@ -811,7 +811,7 @@ To set up and run ``binding_events``:
Y.log('IMAGE ID: ' + imageId);
target.addClass('overlayed');
// Query for the image metadata
- var query = 'select * from flickr.photos.info where photo_id="' + imageId + '"';
+ var query = 'select * from flickr.photos.info where photo_id="' + imageId + '" and api_key="' + API_KEY + '"';
thatNode.one('#display').setContent('Loading ...');
Y.YQL(query, function(raw) {
if (!raw.query.results.photo) {

0 comments on commit f0af949

Please sign in to comment.