First of all After Facebook authenticate returning into onComplete(), U dont need to use SharedPreference to store those values. because you are calling getFbDetails(); and you must have got all data you are looking for. And check for the Context you are passing at the time of Logout. Because Context should be the same which was at the time logIn. Thanks
–
Geet taunkOct 30 '12 at 10:10

So using Util.clearCookies(Context c); after facebook.logout(); will solve the problem??
–
Archie.bpgcOct 30 '12 at 10:04

I think Yes bcz its working for me. Its my complete logout code.
–
Deepanker ChaudharyOct 30 '12 at 10:09

I added the code from your onComplete method after facebook.logout(); But it still gives me the user data
–
Archie.bpgcOct 30 '12 at 10:22

Try this- by adding two line also mFacebook.setAccessToken(null); mFacebook.setAccessExpires(0);& if this is in sharedPreference then try something this:-Editor editor = pref.edit(); editor.clear();editor.commit();
–
Deepanker ChaudharyOct 30 '12 at 10:28