• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Authentication problem while integrating Twitter with Android application

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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/
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic