Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

update yql api key #550

Merged
merged 1 commit into from

2 participants

@lzhan

No description provided.

@caridy
Owner

+1

@lzhan lzhan merged commit b23c00d into yahoo:develop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Sep 24, 2012
  1. update yql api key

    Lichun Zhan authored
This page is out of date. Refresh to see the latest.
View
2  examples/developer-guide/binding_events/mojits/PagerMojit/models/model.server.js
@@ -5,7 +5,7 @@
*/
YUI.add('PagerMojitModel', function(Y) {
- var API_KEY = '9cc79c8bf1942c683b0d4e30b838ee9c';
+ var API_KEY = '84921e87fb8f2fc338c3ff9bf51a412e';
/**
* The PagerMojitModel module.
View
2  ...applications/frameworkapp/common/mojits_subdir2/mojits/SimpleModel/models/model.common.js
@@ -6,7 +6,7 @@ YUI.add('SimpleModelModel', function(Y) {
},
getTurkeyImages: function(callback) {
- var API_KEY = '9cc79c8bf1942c683b0d4e30b838ee9c';
+ var API_KEY = '84921e87fb8f2fc338c3ff9bf51a412e';
var queryString = 'wild turkey';
var q = 'select * from flickr.photos.search where text="wild turkey" and api_key="' + API_KEY + '"';
Y.YQL(q, function(rawYqlData) {
View
2  tests/func/applications/frameworkapp/usecase/mojits/Flickr/models/model.common.js
@@ -19,7 +19,7 @@ YUI.add('FlickrModel', function(Y) {
* @return {Object} photots
*/
getFlickrImages: function(queryString, callback) {
- var API_KEY = '9cc79c8bf1942c683b0d4e30b838ee9c';
+ var API_KEY = '84921e87fb8f2fc338c3ff9bf51a412e';
var q = 'select * from flickr.photos.search where text="%' + queryString + '" and api_key="' + API_KEY + '"';
Y.YQL(q, function(rawYqlData) {
Y.log(rawYqlData);
View
2  tests/func/applications/frameworkapp/usecase/mojits/FlickrDetail/models/model.common.js
@@ -24,7 +24,7 @@ YUI.add('FlickrDetailModelFlickr', function(Y) {
* data has been retrieved.
*/
getFlickrDetail: function(imageId, callback) {
- var API_KEY = '9cc79c8bf1942c683b0d4e30b838ee9c';
+ var API_KEY = '84921e87fb8f2fc338c3ff9bf51a412e';
var q = 'select * from flickr.photos.info where photo_id="' + imageId + '" and api_key="' + API_KEY + '"';
Y.YQL(q, function(rawYqlData) {
if (!rawYqlData || !rawYqlData.query || !rawYqlData.query.results) {
View
2  tests/func/applications/frameworkapp/usecase/mojits/PagedFlickr/models/model.common.js
@@ -8,7 +8,7 @@ YUI.add('PagedFlickrModel', function(Y) {
Y.mojito.models.flickr = {
getFlickrImages: function(queryString, start, count, callback) {
- var APP_KEY = '9cc79c8bf1942c683b0d4e30b838ee9c';
+ var APP_KEY = '84921e87fb8f2fc338c3ff9bf51a412e';
var q;
start = parseInt(start) || 0;
count = parseInt(count) || 10;
View
2  tests/func/applications/frameworkapp/usecase/mojits/PagedFlickr2/models/model.common.js
@@ -8,7 +8,7 @@ YUI.add('PagedFlickr2Model', function(Y) {
Y.mojito.models.flickr = {
getFlickrImages: function(queryString, start, count, callback) {
- var APP_KEY = '9cc79c8bf1942c683b0d4e30b838ee9c';
+ var APP_KEY = '84921e87fb8f2fc338c3ff9bf51a412e';
var q;
start = parseInt(start) || 0;
count = parseInt(count) || 10;
View
2  tests/func/applications/frameworkapp/usecase/mojits/PagedFlickr5/models/model.common.js
@@ -24,7 +24,7 @@ YUI.add('PagedFlickr5Model', function(Y) {
* data has been retrieved.
*/
getFlickrImages: function(queryString, start, count, callback) {
- var APP_KEY = '9cc79c8bf1942c683b0d4e30b838ee9c';
+ var APP_KEY = '84921e87fb8f2fc338c3ff9bf51a412e';
var q;
start = parseInt(start) || 0;
count = parseInt(count) || 10;
View
2  tests/func/applications/frameworkapp/usecase/mojits/i18nMojit/models/model.server.js
@@ -28,7 +28,7 @@ YUI.add('i18nMojitModel', function(Y) {
* data has been retrieved.
*/
getFlickrImages: function(queryString, callback) {
- var API_KEY = '9cc79c8bf1942c683b0d4e30b838ee9c';
+ var API_KEY = '84921e87fb8f2fc338c3ff9bf51a412e';
var q = 'select * from flickr.photos.search where text="%' + queryString + '" and api_key="' + API_KEY + '"';
Y.YQL(q, function(rawYqlData) {
var rawPhotos = rawYqlData.query.results.photo,
View
2  tests/func/applications/frameworkapp/usecase/mojits/i18n_Mojit/models/model.server.js
@@ -17,7 +17,7 @@ YUI.add('i18n_MojitModel', function(Y) {
* data has been retrieved.
*/
getFlickrImages: function(queryString, callback) {
- var API_KEY = '9cc79c8bf1942c683b0d4e30b838ee9c';
+ var API_KEY = '84921e87fb8f2fc338c3ff9bf51a412e';
var q = 'select * from flickr.photos.search where text="%' + queryString + '" and api_key="' + API_KEY + '"';
Y.YQL(q, function(rawYqlData) {
var rawPhotos = rawYqlData.query.results.photo,
Something went wrong with that request. Please try again.