際際滷

際際滷Share a Scribd company logo
10min
Twitter

         /mogya.com
WEB
      http://mogya.com/
      Twitter: @mogya
http://oasis.mogya.com/
10
Twitter
Ti.developers.meeting
10
Twitter
http://www.youtube.com/watch?v=FPEdTS3QeJQ




2011/01
Ti.developers.meeting
Twitter   UI update
Android
Twitter   UI update
Android




(          )
http://developer.appcelerator.com/blog/2010/07/twitter-oauth-implementation-for-titanium-mobile.html



Special Thanks to
https://github.com/hatena/titanium-hatena-oauth-sample




Special Thanks to
https://github.com/mogya/tm_twitter_api
http://d.hatena.ne.jp/donayama/20110404/twitter_api_js_with_android




Special Thanks to
http://d.hatena.ne.jp/pirosikick/20110506/1304650912




Special Thanks to
https://github.com/mogya/tm_twitter_api
Twitter   UI update
Android




(          )
Ti.developers.meeting
https://github.com/mogya/tm_twitter_api
Resources
   app.js
   lib
     twitter_api.js
     oauth_adapter.js
     oauth.js
     sha1.js
Ti.include("lib/twitter_api.js");

var twitterApi = new TwitterApi({
 consumerKey:
     ' YOUR CONSUMER KEY ',
 consumerSecret:
    ' YOUR CONSUMER SECRET '
});
Ti.include("lib/twitter_api.js");

var twitterApi = new TwitterApi({
 consumerKey:
     ' YOUR CONSUMER KEY ',
 consumerSecret:
    ' YOUR CONSUMER SECRET '
});
var twitterApi = new TwitterApi({
 consumerKey:
     ' YOUR CONSUMER KEY ',
 consumerSecret:
    ' YOUR CONSUMER SECRET '
});

twitterApi.init();
var twitterApi = new TwitterApi({
 consumerKey:
     ' YOUR CONSUMER KEY ',
 consumerSecret:
    ' YOUR CONSUMER SECRET '
});

twitterApi.init();
twitterApi.statuses_update({
   onSuccess: function(responce){},
   onError: function(error){},
   parameters:{
      status: `        Titanium       ¨
      }
});
twitterApi.statuses_update({
   onSuccess: function(responce){},
   onError: function(error){},
   parameters:{
      status: `        Titanium       ¨
      }
});
twitterApi.statuses_home_timeline({
  onSuccess: function(tweets){
    for (var c=0;c<tweets.length;c++){
      var tweet = tweets[c].text;
      var user = tweets[c].user.screen_name;
         :
  }
});




                        TL
KitchenSink   (員%員)
Twitter OAuth       API




(            )
          Android




mogya/tm_twitter_api
   https://github.com/mogya/tm_twitter_api
Twitter OAuth       API




(            )
          Android




mogya/tm_twitter_api
   https://github.com/mogya/tm_twitter_api

More Related Content

Ti.developers.meeting

Editor's Notes

  1. \n
  2. \n
  3. \n
  4. \n
  5. \n
  6. \n
  7. \n
  8. \n
  9. \n
  10. \n
  11. \n
  12. \n
  13. \n
  14. \n
  15. \n
  16. \n
  17. \n
  18. \n
  19. \n
  20. \n
  21. \n
  22. \n
  23. \n
  24. \n
  25. \n
  26. \n
  27. \n
  28. \n
  29. \n
  30. \n
  31. \n
  32. \n
  33. \n