Created
October 29, 2011 21:50
-
-
Save atypical/1325141 to your computer and use it in GitHub Desktop.
example 2
This file contains 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
twitter.userTimeline(function(data) { | |
var returnedParams = JSON.parse(data.text); | |
Ti.API.info('returnedParams: '+returnedParams); | |
function success(data) | |
{ | |
Ti.API.info('Response text: '+JSON.parse(data.text)); | |
} | |
function failure(data) | |
{ | |
Ti.API.info('Something bad happened: '+ JSON.parse(data.text)); | |
}; | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think you're code needs to be more like: