Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Authentication problem while integrating Twitter with Android application

 
rajani golakoti
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys,

I have to post a message from my android application to twitter. I was able to post message from my app to twitter. But while posting the message every time it is asking for the username and password, instead it should post directly to twitter if I logged in once. I have created the preferences file in onCreate().
prefs = this.getSharedPreferences(this.getPackageName(), this.MODE_PRIVATE);
I have written this in onResume() onStart() methods also but nothing works.
How to post the message directly from my app without asking the usename and password once I logged into twitter.
If you have any solution to resolve this issue please give me the reply.


Thanks & Regards,
Rajani Golakoti
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Spring Social, Spring Android projects have a way to integrate with Twitter from Android, and they have connectivity to OAuth for the authorization part.

Mark
 
Shahzaib Dahani
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would recommend Icoderslab website.. its a great place for programmers, Turtorials are written in detailed. check this out tutorial for twitter integration in your app.
http://www.icoderslab.com/integrating-facebook-twitter-and-google-in-andriod-using-android-studio/
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic