This is a urgent question to be answered quickly.
I’m developing iPhone application to share the images to social networks.
I’m using ShareKit 2.0 library to implement sharing functions.
I could implement sharing functions perfectly using this and I recommend to use ShareKit library to implement sharing on your app.
The problem is only on Facebook/Twitter logout.
When I wanted to logout from them, I used codes such as following.
[SHKFacebook logout];
[SHKTwitter logout];
Or I used
[SHK logoutOfAll];
But I couldn’t fully logged out from them, and when I tried to share the images to them, they said “You are logging into this app as XXX” and only asked to confirm this.
Whereas when I removed the app from the iPhone/iPad, they required mail address and password to login again.
I think that is not a big problem to experienced and talented developer.
Please help me.
I’m waiting your advices.
Thanks.
Pei.
facebook cannot logout because all cookies of facebook is not deleted in logout method.
make change in invalidateSession method in facebook.m file as below:
it will delete all cookies of facebook.and logout will work.