简体   繁体   中英

How can I put a Twitter share button in my Android application?

I am using Android 1.6. I want to integrate a Twitter button to share songs on my web-based application to my Twitter followers. For that, I integrated the jtwitter.jar file into my application.

But it is not accepting the username and password that I provide.

I am using the following statement to check the authentication:

twitter = new Twitter(username, password);

Twitter has moved to OAuth so you can't log in with username and password like that anymore. JTwitter supports OAuth.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM