Closed (fixed)
Project:
Drupal for Facebook
Version:
6.x-3.x-dev
Component:
Facebook Connect
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Jun 2010 at 10:26 UTC
Updated:
28 Mar 2012 at 20:40 UTC
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
Comment #1
espenmoe commentedbtw i have a dev-server named beta.journalisten.no.
http://beta.journalisten.no/user
Comment #2
millions commentedsubscribe.
Comment #3
millions commentedIt 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.
Comment #4
millions commentedI'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.
Comment #5
millions commentedI 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...
Comment #6
serjas commentedfound 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
Comment #7
Dave Cohen commentedSounds fixed. Re-open this issue if not.