Closed (fixed)
Project:
Facebook Connect
Component:
Documentation
Priority:
Minor
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
10 Jun 2009 at 23:22 UTC
Updated:
3 Jan 2014 at 00:29 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
Mosco DJ commentedI have the same problem... I tired in IE and FF.
Comment #2
rjunction commentedI had similar problem. It went away after downloading and installing a fresh copy of the client library from facebook.
Comment #3
bennos commentedsame error. can not autoconfigure .....
newest framework installed from svn.
Comment #4
carefulmedia commentedSo exactly what did you do? You mean you reinstalled these
http://svn.facebook.com/svnroot/platform/clients/packages/facebook-platf...
in the facebook-client folder?
If so, that didn't help me. Rats.
Comment #5
pyxio commentedI have the same problem. Since so many people have the same problem maybe this issue needs to be elevated?
Comment #6
IgD commentedSame problem here.... Please advise
Comment #7
LaNets commentedI guess facebook just make some new requirement when adding a new application.
I'm pretty sure that the "connect url" parameter was not require before, so i could call the facebook api and autoconfigure your applications settings.(connect URL, base domaine).
The fixe is to edit your facebook application settings. here
Connect URL *: Your Connect site's main URL.
Base domaine : use this to enable your Facebook Connect implementation to span multiple subdomains (e.g., using example.com would enable www.example.com, foo.example.com or bar.example.com,).
Comment #8
pyxio commentedI just tried this and it didn't work for me ... i still get
Unable to autoconfigure your application settings, make sure you are logged into Facebook
Comment #9
bennos commentedI have looke a little bit more in the Facebook configurations of the applications.
there is a White Liste Feature (Tab Advanced).
Comment #10
IgD commentedI added my server IPs to the white list and updated the "Facebook Connect Settings" under the Connect tab of the Facebook application editing screen but still no luck. Still getting the Unable to autoconfigure your application settings, make sure you are logged into Facebook error.
Comment #11
pyxio commentedIs this error just ugly? or does it actually prevent the module from functioning?
Comment #12
carefulmedia commentedI still get this error, but the module appears to be working.
Comment #13
gthing commentedI had this problem and it went away after trying both the suggestions above (adding the base URL and whitelisting the server). Don't know if it was one or both that made the difference.
Comment #14
da312 commentedI'm getting this same error too, I tried every suggestion provided in this thread (adding base URL, whitelisting, reinstalling the client library, etc), and nothing has worked so far. When I have this error this module will not function because the users are unable to connect to Facebook.
Comment #15
hedac commentedsame error... but module works and settings are saved.
Comment #16
sheldon rampton commentedI've been trying to get this module working for a couple of days, with no success. When I submit changes at admin/settings/fbconnect, I get the error message that says, "Unable to autoconfigure your application settings, make sure you are logged into Facebook."
When I try to visit by Facebook Connect user settings at user/1/fbconnect, I get the error message that says, "Your account is not linked with a Facebook account or you are not authorized to edit the Facebook connect settings of this account."
When I log out and try to log in again, I see a button that invites me to "Sign in using Facebook." When I click on that button, a popup window briefly appears and then disappears, titled "Cross-Domain Receiver Page," with this URL:
sites/all/modules/fbconnect/xd_receiver.html?fb_login&fname=_opener&guid=0.2906641254687433&session={%22session_key%22%3A%223.NM3b4dSLLMbrnpcJlFRP4g__.86400.1245621600-500054936%22%2C%22uid%22%3A500054936%2C%22expires%22%3A1245621600%2C%22secret%22%3A%225zZpv6UZKhkKAhoMuaBvlg__%22%2C%22sig%22%3A%224535db11ae0202095c3e8cadc017c09e%22}
The popup window is blank, however, and after it disappears, I'm redirected to fbconnect/register/prompt, which gives me the options of "Click here to create a new account with Facebook connect" or "Click here to connect your existing account with Facebook." When I choose "connect your existing account with Facebook," it lets me log in using my existing Drupal username and password, and then directs me to user/1/fbconnect, where I am informed again that "Your account is not linked with a Facebook account or you are not authorized to edit the Facebook connect settings of this account."
I've tried enabling the Fbconnect friend block, but no block appears.
I've also tried the demo site at fbconnect.lanetscouade.com with similar results. All I get there is the same message that says "Your account is not linked with a Facebook account or you are not authorized to edit the Facebook connect settings of this account." (I'm user 122 there.)
I'd like to use this module if I could figure out how it works, but so far all it does is tell me that I'm not allowed to do anything.
Comment #17
sheldon rampton commentedOK, I'm making some headway now. After trying everything else I could think of, I got the bright idea of trying a different web browser.
It turns out that everything seems to work when I use Safari, but it DOESN'T work when I use Firefox. I'm running Mac OS X version 10.5.7, Safari version 4.0.1 and Firefox version 3.0.11.
I tried disabling some third-party plug-ins on Firefox and deleting some cookies, but that didn't fix things. It's late, so this is as much as I'm going to try tonight. I'll play around some more tomorrow and see if I can isolate the cause of the problem more precisely.
Comment #18
sheldon rampton commentedI did some further checking, and it turns out that the problem occurred in Firefox because I had "Accept third-party cookies" unchecked in my privacy options. Once I turned that option back on, fbconnect works.
Apparently this is an issue with Facebook connect in general, not just with this Drupal module. Here's a thread which discusses it in the Facebook developers forum:
http://forum.developers.facebook.com/viewtopic.php?pid=152105
Comment #19
cgdigitaltreats commentedSame problem where it's not working in firefox. I was able to use the connect with facebook login in ie only. (*but it was messed up)
I save the fbconnect page and get this.
Checking your facebook session, you are not allowed to change this application settings
in ie I get this error.
Unable to autoconfigure your application settings, make sure you are logged into Facebook
I had everything working several days ago until the last update killed it.
I still have fbconnect working, but now it's a pop up, and it really doesn't log into the site.
*The site just opens in the login popup, no scroll windows or anything.
Before it was working fine.
I had to disable fb because it conflicted with fbconnect.
(which it needs, so...)'
It crashes the site with a php error, and I have to disable the module using phpmyadmin, in the system variable.
I am wondering if it was because it was an upgrade and not a fresh install. I tried everything though, and I can't get past the error.
Fatal error: Cannot redeclare class FacebookRestClientException in /home/pojack1/public_html/learntheinternet/modules/fb/facebook-platform/php/facebookapi_php5_restlib.php on line 3303
I added the xmlns:fb="http://www.facebook.com/2008/fbml" to the theme and it started to work a little better, It logs in in ie and firefox now.
But when you goto my account, and try to see all the settings I get these errors.
# user warning: Unknown column 'import_setting' in 'field list' query: SELECT import_setting FROM fbconnect_users WHERE uid = 1 in /home/pojack1/public_html/learntheinternet/modules/fbconnect/modules/fbconnect_profile/fbconnect_profile.module on line 256.
# warning: array_filter() [function.array-filter]: The second argument, 'fbconnect_import_filter', should be a valid callback in /home/pojack1/public_html/learntheinternet/modules/fbconnect/modules/fbconnect_profile/fbconnect_profile.module on line 82.
# warning: implode() [function.implode]: Invalid arguments passed in /home/pojack1/public_html/learntheinternet/modules/fbconnect/modules/fbconnect_profile/fbconnect_profile.module on line 82.
Antonio
Comment #20
da312 commentedIts strange, for me the image buttons "Connect with Facebook" don't even appear. The link on my site, "Sign in using Facebook" cannot be clicked either, it's just text. Does anyone know why this is?
Comment #21
pyxio commentedHi da312, I'm having the same problem. My guess is it is the theme. Have you tried testing another theme? If you, like I am, are using a less widely used theme, I'm thinking we need to add something to the page.tpl.php file but I'm not sure what exactly that is yet. FacebookConnect has not been a priority for me as of yet. Let me know if you solve it. Cheers, Kevin
Comment #22
cgdigitaltreats commentedI get that problem in ie 8. In compatibility mode, It sort of shows up.
But all the problems happened after the last upgrade.
I noticed that if I have multiple windows open of my site, the facebook part doesn't work at all.
I think it trys to disconnect that session, but another session is still open in another window, and it doesn't know that.
Tried to whitelist it, but still get those errors.
I reinstalled the module, I went in with phpmyadmin, dropped all the tables, Or so I think I did.
Antonio
Comment #23
annajonna commentedHi, and thanks for Your explanation.
You forgot to explain where that URL comes from. My site does not have an URL like
fbconnect.example.com
So again how do I find my sites connect URL?
Where is it created?
Where do I control the connect URL in the Drupal admin menu?
Best regards, Anna
Comment #24
ricardoruiz commentedSame issue here. I get the error when trying to save the settings and the 'login through facebook' link is disabled. Also, in the "Facebook Connect" administration page does not show the buttons..
UPDATE: I uninstalled beta8 and installed beta7. I have no problems saving the settings and the "Facebook Connect" button choices show up in the admin page. Unfortunately, the button does not show up in Drupal's login block.
Comment #25
prdsp commentedSame issues with me...Unable to autoconfigure your application settings, make sure you are logged into Facebook
However, when I click on one of the facebook buttons and the facebook connect popup appears and I connect to my facebook account with my user id then I am able to save the settings...However when I go to my user page and click the facebook connect tab I get the following error
Your account is not linked with a Facebook account or you are not authorized to edit the Facebook connect settings of this account.
and when I'm logged out and I go to the login page the "sign in with facebook" text appears without the ability to click on it and there is no connect with facebook button displayed and the login page.
Comment #26
abaddon commentedsame problem here.. as far as i see this error "Unable to autoconfigure your application settings, make sure you are logged into Facebook" is thrown when the module cant update the facebook api connect and base url's (or tries to update its own after facebook? not sure), but if you set those by hand, i guess it doesnt matter very much
Comment #27
likewhoa commentedlook in admin/settings/fbconnect
I am getting the Unable to autoconfigure your application settings, make sure you are logged into Facebook as others have experience. This is with latest
1.x-dev and drupal-6.13 so this is probably a change with the facebook client code. Anyways, I will subscribe to this issue since I don't have time to look further into it.
Comment #28
dark.o commentedsame message, seems to work though, subscribing anyway
Comment #29
Toque commentedSame problem as #25
Comment #30
mspsyron commentedHad same problem: nothing worked
Then i did:
- installing beta 7 like post #24
It works but when i log out, no button anmymore.
So, as proposed in post #21:
- trying default theme, and yes it works
So, it's also a problem with the theme, I am using Bluespan
Does somedbody knows what i have to change in the theme to get this facebook button to appear?
Comment #31
mspsyron commentedFine!!!
I found the solution for the theme problem:
- just add
print $closure;at the end of the page.tpl.php file, just in front of the tagBut don't ask me why, also can check this topic: http://drupal.org/node/362567
Comment #32
mspsyron commentedComment #33
Toque commentedI added "allow_url_fopen = On" to the php.ini file and it now seems to work in Firefox. Internet Explorer still doesn't show the buttons.
Comment #34
abaddon commentedi have url_fopen ON and i still get the mentioned error with beta8, but like i said, as far as i saw, the error is from trying to sync some settings with the facebook api settings, which if you specify in both places by hand, it works ok
so i guess you can safely ignore the error, and its minor, unless someone knows otherwise?
Comment #35
strellman commentedsubscribing
Comment #36
mortenson commentedsubs..
Comment #37
Anonymous (not verified) commentedSame message, except after a few minutes, the problem went away. Changes to FB applications may take a few minutes to propagate to all FB servers!
Comment #38
nathaniel commentedOh that is a bit tricky,
Log in to your new Drupal website with fbconnect and use your face book developer account. Make that new user an admin then update the facebook connect settings.
Comment #39
najibx commentedAfter facebook login at popup, I am receiving
'Under Construction
XXX is under construction.
Note to application developers: ..."
I notice "XXX" i think is a page name my partner created earlier with some fans already. While if you created an apps, you could create a page as well. So now ....I can't figure out how to put the 'connect url" setting the page he already created? or page is not application thus don't have that settings?
Not sure what to do now ... maybe create a subdomain for facebook connect, and maintain my prev page?
tq
Comment #40
capellic#38 >>> That did the trick for me -- on Mac FF and Mac Safari. Thanks!
Comment #41
jgoldfeder commentedThat worked for me..thanks!
Comment #42
malifal commented#38 worked for me, and it's working on ie, firefox and chrome
i've included the following mentioned in the fbconnect readme file.
7. Edit the "page.tpl.php" file of your current theme. edit the tag and add the facebook xmlns for rendering XFBML.
example :
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml">Comment #43
vgodard commented#38 : that worked for me ! Thanks Nathaniel !
Comment #44
john_wind commented#38. I'm very confused. Firstly, I just can't get past:
1- "Unable to autoconfigure your application settings, make sure you are logged into Facebook". during setup. I think I followed everything including editing the page.tpl.php HTML tag.
2- I also have no check box options on the setup page as is shown in the docs. The options end at: "Comment feed bundle ID"
3- If I logout and use FB to login, the pop-up window tells me I have an invalid API key. So I reset the "secret key" in FB DEV. Nothing!
4- The application is clearly installed but nothing shows up in "user perms"?
Any more clarification on this would be great! I am on a client deadline!
Comment #45
paganwinter commentedSubscribing...
Comment #46
krisnomad commented#38 "Log in to your new Drupal website with fbconnect "
I cannot even log in with fbconnect anymore after I upgrade to 6.14 .. or perhaps there's a change in Facebook Dev site instead ?
Or is it bcoz of my browser, I use IE 8, also Firefox .. no luck.
Any suggestion?
Comment #47
ramandv commentedI was also struggling for the same problem. But now figured out the problem.
The problem is, the table [fbconnect_users] created by this modul has a column fbuid int(10), but the latest facebook user ids are of length 15.
patch:
i have attached the patch. But still it is only line change
Basically, changed the normal int to bigint.
How to patch it:
Disable and then uninstall the facebook
Patch the file.
install the file.
Or
U can directly alter the table.
Comment #48
krisnomad commentedThanks ramandv ...
I'm just wondering how can these kind of canges are not fixed. Even drupalforfacebook.org has no login button now, so I can't test.
Sorry for my technical limitation, but how to uninstall fbconnect? Just disable the module won't do it, right ?
Thanks & regards,
Comment #49
totaldrupal commentedgetting same message "Unable to autoconfigure your application settings, make sure you are logged into Facebook". Seems to be working when people sign up that don't have an existing drupal account though.
Comment #50
Copyfight commentedsame error, subscribing && raising priority level to critical.
Comment #51
ram_kumar commented#48
Hi Krisnomad,
To uninstall the module, just disable the module and click uninstall button at the top of the page(admin/build/modules) where u can find the list of modules which were disabled. Just check fbconnect and click uninstall.
Comment #52
Carlos Miranda Levy commentedThis got the module working again for me.
Comment #53
Carlos Miranda Levy commentedThis got the module working back for me.
Thanks.
Ps: The error still shows when saving settings, but everything works fine.
Comment #54
afreeman commentedI was able to clear the error when saving settings by logging into facebook and configuring the base domain and connect URL's on the application settings Connect tab. Module works like a charm.
Comment #55
vectoroc commentedI think It happens due to fbconnect.admin.inc lines 121-123
Try to comment it.Just sign into facabook :)
UPD. And you should be authorized on this app with facebook connect ( to do it you can manually set up "base domain" and "connection url" settings here )
Comment #56
afreeman commentedSo does this actually require a patch or would an update to the installation instructions suffice?
Comment #57
jamix commented#47 may totally be what's causing the problem. It's a very serious issue which needs to be addressed. ramandv's solution is partial in the sense that it won't fully solve the issue for 32-bit servers; I am providing the full one for 5.x-1.0-beta2 here.
Comment #58
4v4l0n42 commentedI followed the instructions step-by-step, still getting this error:
Unable to autoconfigure your application settings, make sure you are logged into Facebook.
Oh, yes, of course I am logged into Facebook.
Comment #59
dudskie commentedI having the same issues here. Any suggestions, please.
Comment #60
dudskie commentedIs there a fixed on this, "Unable to autoconfigure your application settings, make sure you are logged into Facebook."?
Comment #61
Z2222 commentedTry this:
http://www.centurionwebdev.com/content/facebook-connect-unable-autoconfi...
Comment #62
William Burnett commentedSame issue. Have not resolved. How do you subscribe to this thread?
Comment #63
Taran commentedSubscribing. While a few people have said that they got this fixed by things written in this thread, it is unclear WHICH things fixed it. :-)
Comment #64
sumitk commentedFacing same issue .... no clues yet ... gonna post here if I found something!
Comment #65
playfulwolf commentedAt one moment I thought somehow palying with settings got it to work but no :(
beta8 with 6.15 core. Tryed Firefox 3.5 with default settings and IE 8 with low privacy - not much luck
Instructions on http://drupal.org/node/453420 - they are basically the same as on readme file, exept one step...
"Post-Authorise Callback URL: Paste in the following URL http://example.com/sites/all/modules/fbconnect/xd_receiver.html then replace example.com with the address for your Drupal site."
Can someone just share complete step-by-step to make this work on new site?
Comment #66
fduppa commentedok. I have it working rite now.
Steps followed were:
* ) Readme file. All of it. Untill the end.
* ) on every fbconnect and facebook application settings, i used the same domain: (ie: doesntexist.com)
So far it wasnt working. Until I saw that on my address bar i had "localhost/~someusername/doesntexist/node/lalaala"... so I accessed my site using doesnexist.com and it was working fine.
and now I don't have the error message
Comment #67
.Raj commentedI have removed the base domain url from both application and fbconnect configuration. Its working fine now.
Comment #68
Cyberflyer commentedI beat my head against a wall for a day and a half until I went through and looked at #47.
I patched the Install file for the record, but since my module was intalled and working I went into PHP MyAdmin and changed the length of the fbuid to a BIG length 15 and I finally stopped getting that annoying message.
That change is critical--Can someone post it to the downloadable source to save everyone lots of time.
The other issues are also important, but that one had to be in place and it can be fixed with a quick apply and new release.
Comment #69
jdeg commentedI have the same exact problem, new version has the #47 patch... and i still getting the message.
Comment #70
wzoom commented#42 + #38 worked!
Summary:
1) In "page.tpl.php" file of your current theme edit the tag and add "fb" namespace there:
xmlns:fb="http://www.facebook.com/2008/fbml"
2) Connect your drupal admin account with Facebook (developper of the App) on /user/1/fbconnect
3) On /admin/settings/fbconnect save your FBConnect settings.
Voila!
Module version used: 6.x-1.x-dev (from January 21, 2010)
Comment #71
drupallogic commentedreally works. thanks man!
Comment #72
babbage commentedAll I had to do was log out of my own site, and on the login page click the new Facebook Connect button... after going via Facebook back on my own site I was offered the option to link it to an existing user account or a new one. Selecting existing, I logged in on my own site with my usual admin username and password and accounts were linked. The module then stopped returning this error and could update the application. Problem solved—but this needs to be added to the documentation.
There may also be a patch that would prevent this being an issue—not sure if the one above achieves this or not; I haven't checked.
Comment #73
Anonymous (not verified) commentedHeres a very simple solution that some of you may have overlooked. I know I did. *I was in offline maintenance mode*. Put your site online and it may help. worked for me.
Cheers.
Comment #74
bcobin commented(Note: I'm using the Feb. 28, 2010 dev version, not beta 9.)
This is maddening... I've been trying now for two days without success to get rid of the "Unable to autoconfigure your application settings, make sure you are logged into Facebook" message.
Would it be too much to ask for somebody to post detailed and accurate configuration instructions - both for Drupal and the Facebook app? For example, in the current instructions, it says:
Post-Authorise Callback URL: Paste in the following URL http://example.com/sites/all/modules/fbconnect/xd_receiver.html then replace example.com with the address for your Drupal site.when there is no such file as xd_receiver.html - there is an xd_receiver.inc file, which is how I have it currently configured.
While the "Unable to autoconfigure your application settings, make sure you are logged into Facebook" message appears, you can log into Facebook, but can't actually connect to the account.
A soon-to-be-grateful Drupal nation anxiously awaits proper documentation - thanks in advance to the brave and generous soul who takes the time to do it!
Comment #75
babbage commented@bcobin your latter problem is exactly what I describe resolving in #72... have you tried that?
Comment #76
bcobin commentedThanks, dbabbage - I certainly did. Upon logging out and logging in using the FbConnect button, the system grinds away for a few seconds and nothing happens if I'm logged into Facebook.
If I'm not logged into Facebook, I'm presented with the popup, where I can log into Facebook and then, again, nothing happens.
In either case, I am never presented with the options to either link to an existing account or create a new one, as per what happens on the demo site.
A simple listing of sample settings that work for FB and Drupal (with URL disguised, of course) would be enormously helpful. At the very least, the documentation in general should be updated to reflect the change in the callback URL settings.
Thanks for taking the time, dbabbage - would love to get this working!
Comment #77
babbage commentedbcobin: Just checked our site where this is working, and the "connect URL" is just our main site url: "http://www.example.com" with the base domain URL being "example.com" (with no "http://" and no "www.", though I don't think that is probably significant). Obviously, I've already put in my Facebook Key and Secret Key from the Facebook application that I'd pre-configured. That's about it for the settings. Any use?
Comment #78
bcobin commentedWell, I'll be danged. It's working now.
I filled in nothing on the Facebook app and as soon as a added a "/" after the connect URL, it validated. It auto filled in the Post-Remove callback in FB to be http://[URL]/fbconnect/post-remove and the Post Authorize Callback URL is blank.
I can link accounts now and everything - woo hoo!
Totally odd, but I'm a happy camper now. Thanks for the follow-up, dbabbage - I'll credit you for "fixing" this, whatever the heck was going on!
Comment #79
babbage commentedbcobin: :)
Comment #80
kwhatcher commentedAfter much gnashing of teeth, I have my site working...
All I did was clear the:
Post-Authorize Callback URL
Post-Remove Callback URL
In the Authentication section on Facebook.
Fixed the
Connect URL
Base Domain
in the Connect section on Facebook.
And finally added my IP to the white-list on Advanced section on Facebook.
-Kerry
Comment #81
iori57 commentedPost #70 saved the day :)
Comment #82
vectoroc commentedupdated installation instructions. try last dev
Comment #83
flug commented#72 did it for me (after going through all the other setup issues mentioned here to make sure they were OK).
I wonder if this is an issue of fbconnect assuming you're user #1--I typically log in & admin under user #5.
At any rate, once I'd logged out and when logging back in, used the connect this account with FB option, all is well.
Comment #84
nicholasthompson#72 works for me too...
Comment #85
agileware commentedThe thing that fixed it for me is going to user/1/fbconnect while logged into facebook and connecting to facebook.
After that the problem was resolved.
Comment #86
unnikrishnan commentedI had the same issue but when I set the 'Base domain url:' without the http:// in fbconnect settings page it started working for me.
Comment #87
tamitha commentedsubscribe
Comment #88
th.sigit commented#72 works for me: just logout from your drupal site, and then login again using FBconnect.
Comment #89
nathaniel commentedThis is fixed, make sure you are logged in with facebook connect before saving settings.