Created
January 18, 2011 08:18
-
-
Save mogya/784127 to your computer and use it in GitHub Desktop.
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
//get timeline | |
oAuthAdapter.send({ | |
url:'https://api.twitter.com/1/statuses/home_timeline.json', | |
parameters:[ | |
], | |
method:'GET', | |
onSuccess:function(response){ | |
alert('got tweets.see info log.'); | |
response = JSON.parse(response); | |
for(var i=0;i<response.length;i++){ | |
var tweet = response[i]; | |
Ti.API.info(tweet.user.name+':'+tweet.text); | |
} | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment