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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T18:04:55+00:00 2026-05-15T18:04:55+00:00

I am using Facebook in my music application where user post comment on wall

  • 0

I am using Facebook in my music application where user post comment on wall paper after listening the songs . So problem arises that user have to login again for next song. so please provide me code for session retains when he clicked on the tab where it written “keep me login”.

Thanks

  • 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-15T18:04:56+00:00Added an answer on May 15, 2026 at 6:04 pm

    I have a file called FacebookHelper.m, here is the code there:

    - (id)init {
        if (self = [super init]) {
            session_ = [[FBSession sessionForApplication:kAPIKey secret:kApplicationSecret delegate:self] retain];
            [session_ resume];      
        }
        return self;
    }
    

    If you want to control the login dialog yourself, here is the code:

    - (void)loginByShowingDialog {
        self.isDialogShown = YES;
        FBLoginDialog* dialog = [[[FBLoginDialog alloc] initWithSession:self.session] autorelease];
        dialog.delegate = self;
        [dialog show];
    }
    

    For your cases, I think you only need to get the session back and resume it.

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

Sidebar

Related Questions

I am using facebook PHP SDK. After the user allows my application, facebook redirects
I am using Facebook PHP SDK to authenticate the user. After generating the LoginUrl
After i login using Facebook connect,I need to redirect user to particular URL.The below
Good evening. I'm developing an android application that uses Facebook SDK. I've no problem
I'm using Facebook SDK and I want to post message on my wall. It's
I am using facebook defaul dialog to share post on my facebook wall .
I'm using facebook-android-sdk to post messages to my wall. The following request: Bundle params
using facebook c# sdk, I'm able to post to my wall but when I
using Facebook Javascript SDK (since FBml doesn't work anymore), posting to a wall using
I'm using Facebook Connect along with the Facebook Graph API to fetch user's email

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.