This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic