androidtwittertwitter-oauthtwitter4jandroid-twitter

is there any twitter demo example to post photo on twitter with using OAuth in twitter?


I want to upload the Photo on Twitter as like ttweet photo. by Searching on net I got Some Example of the twiiter4j example to tweet the Photo on twitter. but in that example demo I have to enter the static Username and Password to post. I want is to enter and managed the username and password by twitter OAuth and post the photo on twitter... So is there any Demo that can Post the Photo on Twitter using Twitter OAuth?


Solution

  • Twitpic is the place where your photos(tweeted on Twitter) are hosted. So once you get the username password for twitpic,you can upload photo to it using below code sample project. It would just upload the photo and gives you the link.so finally you will have to code for posting that link onto twitter as tweet.

    Here is the complete project sample: https://github.com/lorensiuswlt/AndroidTwitpic