Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8185943
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T02:01:54+00:00 2026-06-07T02:01:54+00:00

This is a urgent question to be answered quickly. I’m developing iPhone application to

  • 0

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.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T02:01:56+00:00Added an answer on June 7, 2026 at 2:01 am

    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:

    - (void)invalidateSession {
         self.accessToken = nil;
         self.expirationDate = nil;
    
         NSHTTPCookieStorage* cookies = [NSHTTPCookieStorage sharedHTTPCookieStorage];
    
        for (NSHTTPCookie* cookie in cookies.cookies){
            if([cookie.domain rangeOfString:@"facebook"].location != NSNotFound){
                [cookies deleteCookie:cookie];
            }
       }
    
       // setting to nil also terminates any active request for whitelist
       [_frictionlessRequestSettings updateRecipientCacheWithRecipients:nil]; 
    }
    

    it will delete all cookies of facebook.and logout will work.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using CodeIgniter for a web application, and now I have an urgent question:
This is incredibly urgent, I need to present this application in 3 and a
I am working android application my problem is i am using handlers this handler
Hello and thanks for listening. This is not an urgent question for me, I'm
This question is asked out of curiousity rather than any urgent need. I found
I know this question has already been asked but I am in urgent need
This is not an urgent nor important question, seems more like exercise. How to
I have this urgent question about date in php. I want to query the
OK, this is an interesting and most importably real urgent problem for me to
this is my first question in here, and I would like to ask if

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.