How can I sign an iOS application from facebook - it seems REALLY to exit. IOS devices use a Safari cookie that my app cannot forget

I searched high and low and spent 8 hours on this one only one, trying to find many offers here. There are many people in this and other forums. Here is another way to ask this question - since some people seemed to say that it worked, others did not - I think they used an older version of the facebook SDK.

I want my application to request facebook credentials every time for one function. Instead, what happens is that the delegate (ios facebook app or ios Safari) remembers that I logged in and talked about my application - "go for it." I do not want it. Get out of dangit and forget my app!

After logging out using Facebook SDK 3.1, I went through my common cookies, as many messages tell me - some poeple said that it worked, others said that it wasn’t. I do not have cookies - the next cycle indicates whether it is not filtered or not.

If I force Safari things to auth, and then reset Safari to General-> Settings - it asks for credentials. This is what I want every time without going to General-> Settings.

So a) how can I use my own UIWebView - it will make these cookies work, but I don’t think it is the way Facebook subscribes using api b) how can I take these cookies in Safari from my application? c) how did someone else get this job?

I can’t access facebook.m - or if so - how are you? I think it was the previous sdk that was hacked into a couple of lines. I am using frame loading.

If this does not work, I will force them to enter the Facebook php page with a session that I can control

+4
source share
1 answer

It's unclear if you use the iOS Facebook feature, but assume iOS6 + - Have you tried using ACAccountStore and removeAccount:withCompletionHandler: method?

Full link Link to the ACAccountStore class.

+2
source

All Articles