When i try to click the Facebook-connect button i get this message in the pop-up window:

***
Invalid API key specified

The application you are trying to access does not exist or has been disabled.
***

If i test the API key by pasting ut at the end of this url:
http://www.facebook.com/login.php?api_key=
I get to the login page.

Comments

espenmoe’s picture

btw i have a dev-server named beta.journalisten.no.

http://beta.journalisten.no/user

millions’s picture

subscribe.

millions’s picture

It keeps trying to connect with an API Key from a previous application on Facebook that was deleted from Facebook. I've cleared cookies, reinstalled drupal for facebook, both the 2.0 recommended release as well as the 3.0-dev. No matter what computer or browser, it pulls up using an old api key.

millions’s picture

I've tried truncating my drupal sessions table as well as disabling Global Redirect and Boost. No matter what happens, if i'm logged out of facebook and click the "Connect with Facebook" button, it opens using my old API Key that I can't even access on Facebook anymore.

millions’s picture

I think I've fixed it. I had a "Fan Box" on my page that was using fb.init with the old api key. Since that was being loaded before the FB Connect, the connection was calling the old api key. I don't know if that's the right terminology but by changing the fan box to use the new api key everything is working so far...

serjas’s picture

found the issue.. no matter we updated api in admin setting, its not changing in 'variable' table in db .. i have deleted all records from 'variables' starting with 'fb_' , reinstalled module, now everything works fine

Dave Cohen’s picture

Status: Active » Fixed

Sounds fixed. Re-open this issue if not.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.