Android app have sharing feature like Facebook,Twitter and Email.So one of this is Twitter.
First open Twitter Developer Site https://dev.twitter.com/ .Then sign in Twitter and Right-Top side you can see your Twitter Name.Click and you get 3 options and click on My Applications.
Then Click on Create a new Application.Then fill up form.
Don't forgot to add Callback URL in form otherwise its take it as Desktop Application and its can't work in mobile app.
After Successfully creating application you get Consumer key and Consumer secret.Copy it.
Now Click on Settings tab and Under Application Type change your Access Type to "Read, Write and Access direct messages" and click on Button which name as Update this twitter application's settings.You get this message "Your application's settings have been successfully updated."
Now download below code and add your Consumer key and Consumer secret.Now you can Twitt from your application.
You Can Download Full Source Code From Here
First open Twitter Developer Site https://dev.twitter.com/ .Then sign in Twitter and Right-Top side you can see your Twitter Name.Click and you get 3 options and click on My Applications.
Then Click on Create a new Application.Then fill up form.
Don't forgot to add Callback URL in form otherwise its take it as Desktop Application and its can't work in mobile app.
After Successfully creating application you get Consumer key and Consumer secret.Copy it.
Now Click on Settings tab and Under Application Type change your Access Type to "Read, Write and Access direct messages" and click on Button which name as Update this twitter application's settings.You get this message "Your application's settings have been successfully updated."
Now download below code and add your Consumer key and Consumer secret.Now you can Twitt from your application.
You Can Download Full Source Code From Here
Hi.,I have referred these tutorial.This is really very helpful to me...How can i post image on twitter wall.
ReplyDeleteHey, Nice Source. What should I do if I want to logout from the twiiter and login again? Please suggest.
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteWorking fine thanks
DeleteThanks buddy, I was looking for it for twodays luckily i got here...
ReplyDeletegood example but write some comment at some critical point so fresher can learn easily. other wise its awesome.Perfect & generalize coding.
ReplyDeleteHello Nice Tutorial. Can you also upload code for sharing image on twitter ? Please do that if possible. Thanks
ReplyDeleteReally, it helps me a lot. But instead of text, how can i post images on Twitter. please give me your all suggestions.
ReplyDeleteThank you so much for sharing this great blog.Very inspiring and helpful too.Hope you continue to share more of your ideas.I will definitely love to read. descargar app betcris
ReplyDeleteI appreciate everything you have added to my knowledge base.Admiring the time and effort you put into your blog and detailed information you offer.Thanks. mejores sitios de apuestas mexico
ReplyDelete