Permalink
Browse files

updated other instances of YQL key

  • Loading branch information...
1 parent b58b527 commit b2eb7909499140615702fa0ad17afa1d9bea05b5 @drewfish drewfish committed Sep 24, 2012
@@ -39,7 +39,7 @@ the YQL statement contains photo information and not the URIs to images, you als
To get photo data from Flickr, you use the YQL table ``flickr.photos.search``. This table allows you to get photos that are associated with a string. In the YQL statement below, we use the table to
return Flickr photos whose title, description, or tags contain the text "muppet". Click on the YQL statement to open the YQL Console, and then click the **TEST** button to see the returned XML response.
-`select * from flickr.photos.search where text="muppets" and api_key="9cc79c8bf1942c683b0d4e30b838ee9c" <http://developer.yahoo.com/yql/console/#h=select%20*%20from%20flickr.photos.search%20where%20has_geo%3D%22true%22%20and%20text%3D%22san%20francisco%22%20and%20api_key%3D%229cc79c8bf1942c683b0d4e30b838ee9c%22>`_
+`select * from flickr.photos.search where text="muppets" and api_key="84921e87fb8f2fc338c3ff9bf51a412e" <http://developer.yahoo.com/yql/console/#h=select%20*%20from%20flickr.photos.search%20where%20has_geo%3D%22true%22%20and%20text%3D%22san%20francisco%22%20and%20api_key%3D%2284921e87fb8f2fc338c3ff9bf51a412e%22>`_
As you can see from the partial response from YQL below, the photo URIs are not returned, just metadata about the photos. You need to extract metadata and use it to form the
photo URIs to get the photos. We'll look at the URI scheme for the photos next.
@@ -81,7 +81,7 @@ create the photo URIs and then stores those photo URIs, photo IDs, and titles in
YUI.add('flickrModel', function(Y,NAME) {
// Flickr requires an API key
- var API_KEY = '9cc79c8bf1942c683b0d4e30b838ee9c';
+ var API_KEY = '84921e87fb8f2fc338c3ff9bf51a412e';
Y.mojito.models.flickr = {
init: function(config) {
this.config = config;
@@ -5,7 +5,7 @@
*/
YUI.add('PagerMojitBinder', function (Y, NAME) {
- var API_KEY = '9cc79c8bf1942c683b0d4e30b838ee9c';
+ var API_KEY = '84921e87fb8f2fc338c3ff9bf51a412e';
/**
* The PagerMojitBinder module.
@@ -5,7 +5,7 @@
*/
YUI.add('FlickrModel', function(Y) {
- var API_KEY = '9cc79c8bf1942c683b0d4e30b838ee9c';
+ var API_KEY = '84921e87fb8f2fc338c3ff9bf51a412e';
/**
* The FlickrModel module.
@@ -5,7 +5,7 @@
*/
YUI.add('FlickrModel', function(Y) {
- var API_KEY = '9cc79c8bf1942c683b0d4e30b838ee9c';
+ var API_KEY = '84921e87fb8f2fc338c3ff9bf51a412e';
/**
* The FlickrModel module.
@@ -5,7 +5,7 @@
*/
YUI.add('PagedFlickrModel', function(Y) {
- var API_KEY = '9cc79c8bf1942c683b0d4e30b838ee9c';
+ var API_KEY = '84921e87fb8f2fc338c3ff9bf51a412e';
Y.mojito.models.flickr = {
@@ -5,7 +5,7 @@
*/
YUI.add('ModelFlickr', function(Y, NAME) {
- var API_KEY = '9cc79c8bf1942c683b0d4e30b838ee9c';
+ var API_KEY = '84921e87fb8f2fc338c3ff9bf51a412e';
Y.mojito.models.flickr = {

0 comments on commit b2eb790

Please sign in to comment.