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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T03:45:20+00:00 2026-05-28T03:45:20+00:00

I am trying to integrate Facebook into my application. When someone clicks the Connect

  • 0

I am trying to integrate Facebook into my application. When someone clicks the “Connect with Facebook” button in my app, a dialog appears that says “Invalid API key specified”. Here is my code:

<fb:login-button onlogin='requestPermission();' length='long'></fb:login-button>

$(document).ready(function () {
    FB.init({
      appId  : '[MyAppID]',
      status : true,
      cookie : true,
      xfbml  : true
    });
});

function requestPermission() {
  FB.Connect.showPermissionDialog("publish_stream", permissionGranted);
}

I have verified that ‘[MyAppID]’ is in fact my application ID. When I log into https://developers.facebook.com/apps and look at my application, everything looks setup properly. Can somebody help me identify what I’m doing wrong or what I should be looking for?

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-28T03:45:20+00:00Added an answer on May 28, 2026 at 3:45 am

    FB.Connect.showPermissionDialog is really old stuff and may be deprecated soon, so you should use the newer Social Plugin for logging in

    https://developers.facebook.com/docs/reference/plugins/login/

    or you can use the Javascript SDK’s login

    http://developers.facebook.com/docs/reference/javascript/FB.login/

    • 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 a Facebook send button into my site using Facebook app.
I am trying to integrate Facebook into a web app that I am working
I am trying to integrate facebook connect with my cakephp application. i am not
I'm trying to integrate Facebook into my Android Java app, what I want it
I am trying to integrate facebook capabilities into my Android app. So, I have
I'm trying to integrate facebook graph into my app. I've tried to follow the
I'm trying to intergrate Facebook Connect into an GAE app. I've got a basic
I've been trying to integrate Facebook Credit purchases into my app, but any call
So I am trying to integrate the facebook iOS api into my iphone app.
I am trying to integrate a Hibernate application into a proprietary framework. My problem

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.