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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T07:50:01+00:00 2026-05-23T07:50:01+00:00

I am trying to popup the login page for Facebook with the code below.

  • 0

I am trying to popup the login page for Facebook with the code below. The sample code APIkey and secret key belongs to the sample code which works. However, then i change my own registered APIkey and secret key, the login page never popup.

May I know if i need to do anything on the facebook side?

static NSString* kApiKey = @"8fa673a06891cac667e55d690e27ecbb";
static NSString* kApiSecret = @"325a4c580253c7619313baad5712cc2a";
_session = [[FBSession sessionForApplication:kApiKey secret:kApiSecret delegate:self] retain];

// Load a previous session from disk if available.  Note this will call session:didLogin if a valid session exists.
[_session resume];

[super viewDidLoad];
  • 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-23T07:50:01+00:00Added an answer on May 23, 2026 at 7:50 am

    Did you set the Facebook url handler in your info.plist file? In the sample project, you would need to change it to fb152465604814562, or whatever your public app id is (not the private/public key).

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

Sidebar

Related Questions

I have this php code, with which I am trying to generate a popup
I have been trying add facebook login to my page. I have facebook login
I am trying to make a Login popup window. For example, if someone clicked
I'm using Rails 3.0.9. Trying to login to my (localhost) site through Facebook. My
I was trying to make a popup php form and login popup pages and
I have a standard HTML login page, which I would much rather use than
I am trying to do facebook login on my web site, and I have
I am trying get Javascript popup calendar control to work which doesnt work. I
I'm trying to create a popup like facebook and twitter. When you click on
I have a login popup that modifies its parent page with window.opener.location.href = XXX.

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.