Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Login into web application using Facebook profile  RSS feed

 
Robert Insanovation White
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So, my main thread is to understand why my application is posting the same Facebook user ID, if I log out from Facebook, then log in using another account.

I used this tutorial as a guide:
http://javapapers.com/java/java-facebook-login-with-oauth-authentication


Everything works well, except the fact that the same ID is returned by the json object. But, if I restart the application, the ID is returned correctly for the current profile. Then, I log out and repeat the log in with another profile... it returns the previous ID, not the current one.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!