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

  • SEARCH
  • Home
  • 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 3219122
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T15:36:30+00:00 2026-05-17T15:36:30+00:00

I am trying to integrate FB connect into our user profile screen. Although, I’m

  • 0

I am trying to integrate FB connect into our user profile screen. Although, I’m having an issue with FB.ApiClient.revokeAuthorization.

http://pastie.org/921942

The basic problem is that I revoke the auth at line 44 after the user clicks the disconnect button.

After that, all subsequent API calls don’t have a valid session to even check user status. I’ve tried wrapping blocks in a FB.Connect.forceSessionRefresh block, but then the code will never be called at all.

I’m not sure what the proper workflow should be for this purpose. Right now it’s basically…

  1. User arrives at profile NOT
    connected to the application.
  2. User clicks on the connect button.
  3. Once connected, DOM manipulation
    occurs to hide the connect button
    and add in a disconnect button.
  4. User clicks on the disconnect
    button.
  5. User’s authorization to the
    application is revoked and (it
    seems) the API session to the FB
    server is invalidated.
  6. DOM manipulation occurs to hide the
    disconnect button and readd the
    connect button.
  7. User clicks on the connect button.
  8. Once connected, the
    FB.Connect.get_loggedInUser() doesn’t
    return the actual user.
  • 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-05-17T15:36:30+00:00Added an answer on May 17, 2026 at 3:36 pm

    why not just use the facebook api of $facebook->logout(). By placing $facebook->logout() it will either display the “LOGOUT” button if they are logged in, or show the login button if they are logged out.

    Another option is to use the FB JS library and do an onClick event of FB.logout(function(response){ window.location = 'redirecturl'});

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

Sidebar

Related Questions

I'm trying to integrate passport into my nodejs server using connect, but can't seem
I am trying to integrate Facebook into my application. When someone clicks the Connect
I am trying to integrate the facebook chat into our mobile Flash/AIR application, and
Hi I'm trying to integrate an LDAP search functionality into my app similar to
I'm trying to integrate a Facebook send button into my site using Facebook app.
I am trying to integrate one of my websites with facebook connect. I have
I am trying to integrate facebook connect with my cakephp application. i am not
I am trying to integrate facebook connect with nmy social network site, currently users
I am trying to integrate Facebook into my webpage so users can update their
I'm trying to integrate Facebook into a site I'm developing, I have created a

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.