2012年3月23日 星期五

Titanium Mobile - Twitter Tweet

This is a guide about tweet a status in Titanium Mobile Project

This is Easy to Use and need not to download any module!

First, u'll need two js file in the project/Resources directory


jsOAuth-1.3.3 and twitter (this is from here)


[wp_ad_camp_2]

Than copy the function into ur js file 


[gist]http://gist.github.com/2162723[/gist]

before using this function, remember to change the consumerKey and Secret

after calling it, u will get a success alert

BTW, if u want to change the message u post,

look into clinet.requent and change the string after status:

Than, Just Enjoy it and Thanks to ebryn

For more infomation about the twitter api,please take a look at here

[wp_ad_camp_1]

0 意見:

張貼留言