Changing Settings I get a Successful Message and an error message: Checking your facebook session, you are not allowed to cha...
kevinhaddock - June 10, 2009 - 23:22
| Project: | Facebook Connect |
| Version: | 6.x-1.0-beta8 |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | patch (to be ported) |
| Issue tags: | facebook connect |
Description
When I make changes to my FBconnect settings page, I get
- a successful message: The configuration options have been saved.
- & an error message: Unable to autoconfigure your application settings, make sure you are logged into Facebook
I made sure that the facebook account that is tied to the Application is also the same facebook account tied to the admin account... Even made sure emails matched. etc...
| Attachment | Size |
|---|---|
| Picture 12.jpg | 96.86 KB |

#1
I have the same problem... I tired in IE and FF.
#2
I had similar problem. It went away after downloading and installing a fresh copy of the client library from facebook.
#3
same error. can not autoconfigure .....
newest framework installed from svn.
#4
So 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.
#5
I have the same problem. Since so many people have the same problem maybe this issue needs to be elevated?
#6
Same problem here.... Please advise
#7
I 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,).
#8
I 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
#9
I have looke a little bit more in the Facebook configurations of the applications.
there is a White Liste Feature (Tab Advanced).
#10
I 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.
#11
Is this error just ugly? or does it actually prevent the module from functioning?
#12
I still get this error, but the module appears to be working.
#13
I 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.
#14
I'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.
#15
same error... but module works and settings are saved.
#16
I'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.
#17
OK, 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.
#18
I 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
#19
Same 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
#20
Its 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?
#21
Hi 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
#22
I 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
#23
Hi, 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
#24
Same 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.
#25
Same 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.
#26
same 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
#27
look 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.
#28
same message, seems to work though, subscribing anyway
#29
Same problem as #25
#30
Had 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?
#31
Fine!!!
I found the solution for the theme problem:
- just add
<?phpprint $closure;
?>
But don't ask me why, also can check this topic: http://drupal.org/node/362567
#32
#33
I 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.
#34
i 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?
#35
subscribing
#36
subs..
#37
Same 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!
#38
Oh 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.
#39
After 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
#40
#38 >>> That did the trick for me -- on Mac FF and Mac Safari. Thanks!
#41
That worked for me..thanks!
#42
#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">#43
#38 : that worked for me ! Thanks Nathaniel !
#44
#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!
#45
Subscribing...
#46
#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?
#47
I 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
- 'fbuid' => array('type' => 'int', 'unsigned' => TRUE, 'not null' => TRUE, 'default' => 0),+ 'fbuid' => array('type' => 'int', 'size' => 'big', 'unsigned' => TRUE, 'not null' => TRUE, 'default' => 0),
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.
#48
Thanks 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,
#49
getting 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.
#50
same error, subscribing && raising priority level to critical.
#51
#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.
#52
This got the module working again for me.
#53
This got the module working back for me.
Thanks.
Ps: The error still shows when saving settings, but everything works fine.
#54
I 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.
#55
I think It happens due to fbconnect.admin.inc lines 121-123
if (!fbconnect_get_fbuid()) {
drupal_set_message(t('Unable to autoconfigure your application settings, make sure you are logged into Facebook'), 'error');
return FALSE;
}
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 )
#56
So does this actually require a patch or would an update to the installation instructions suffice?
#57
#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.
#58
I 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.
#59
I having the same issues here. Any suggestions, please.
#60
Is there a fixed on this, "Unable to autoconfigure your application settings, make sure you are logged into Facebook."?
#61
Try this:
http://www.centurionwebdev.com/content/facebook-connect-unable-autoconfi...
#62
Same issue. Have not resolved. How do you subscribe to this thread?