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 3210562
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T14:35:03+00:00 2026-05-17T14:35:03+00:00

i have the default login button of fbconnect sdk . i tap it and

  • 0

i have the default login button of fbconnect sdk . i tap it and i connect then i post to my facebook profile something. when the post is finished i see that the button has changed to logout . how can i detect when the user presses the logout button in order to dissapear another button i have on my uiview?

  • 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-17T14:35:03+00:00Added an answer on May 17, 2026 at 2:35 pm

    The obvious and easiest way is to know what is the status of the button. If the user is already loggined, the status of the button will say “Log out”, and when user clicks on it, you just handling the event and call logout.

    Now, how can you know that user is loggined? There is a method in FBConnect in FBSession classes.

    [_session isConnected]; returns true if user is loggined and return false if user is not. And I think that you already have stored your session variable somewhere to call login

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

Sidebar

Related Questions

Does anybody have idea about how to post a wall on facebook after login
I have a standard asp:login control: <asp:Login ID=mbLogin runat=server TitleText= DestinationPageUrl=~/Default.aspx PasswordRecoveryText=Forgot your password?
i have login page with 2 textbox and 1 button <input name=txtUserName type=text value=666
I have a single form that, depending on which radio button is clicked (Login
I have a login view controller that uses the php/mysql/POST function to verify if
My server have default php version of 4, so when I run some script
I want to be able to have default text like Enter content here... appear
here's a tricky question... I have default styled input fields (no css added, just
I have some default values for testing my code, but for security reasons those
I have a default ListView that i have added my custom views for the

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.