Active
Project:
Drupal for Facebook
Version:
6.x-2.0-rc2
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Jun 2010 at 00:19 UTC
Updated:
10 Aug 2010 at 08:06 UTC
When I properly enter my Facebook App credentials, such as API Key, Secret, etc. I get the error: Unable to get application properties. Confirm both apikey and secret.
My App is not submitted to the Application Directory, and has no Sample Code. I'm not sure if there're steps I'm missing, or if I've got the wrong permissions. I'm a newer Drupal user, and am not familiar with advanced settings just yet. I do know I installed the Facebook module correctly, with the right permissions, and I'm getting no errors about my install.
Comments
Comment #1
Dave Cohen commentedIf you're using 3.x, see http://drupal.org/node/798460.
For 2.x, try clearing all browser cookies. Then log into drupal only and not facebook, and try again.
Comment #2
ja.pelladium commentedI'm using 2.0-rc2. When I tried clearing the cookies and just logging into drupal, I got the same error. Not sure what's causing the error, since the keys are correct.
Comment #3
dhon commentedI have read and followed thoroughly the README.txt and the online documentation but still I got the error message. I'm thinking if it has something to do with the server I am using because I'm trying it on my localhost using WAMP.
Comment #4
Dave Cohen commentedDon't expect anything related to modules/fb to work if your url looks like http://localhost/... You need a domain that facebook's servers can see from facebook.com
Comment #5
dhon commentedOk. Now it's clear to me. But what if my site has a domain but not public to the web? meaning its not searchable in the internet, an intranet site for short. Can I use drupal for facebook module for this instance?
Comment #6
Dave Cohen commentedSome parts may work. For sure some features will not. I don't run it this way, and I don't recommend anyone run a facebook connect site this way. But if you're sure you want to, give it a try and let us know what happens.
Use the 3.x branch and not 2.x. 2.x requires a cross-domain receiver and 3.x does not. There may be other improvements in facebook libs in 3.x that will make more things work.
Comment #7
dhon commentedThank you so much for your suggestions. I really appreciate it! I'll post here my updates soonest.
Comment #8
dhon commentedI have tested it with an Intranet site. It actually works! I think you can't connect to facebook if you have http://localhost... in your URL. =)