• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Fixed  Facebook Sign-in Error

Brogan

XenForo moderator
Staff member
#4
Did you try what Mike suggested?

Your invalid email thing is happening because it's only been granted the FB proxy email, rather than a regular email. I don't even thing that was an option at the time the code was written, but I could be wrong. It looks like supporting the proxy mails would involve making our email field significantly longer. We could, though this is probably the only time it's needed. If you remove the application from your FB profile and regrant permission, I suspect it'll work.
You could also try deleting the app and creating a new one.
 

erich37

Well-known member
#9
nope. I do not think that a user would understand he needs to change the proxy e-mail.
I do not want to showthe user the Proxy E-Mail crap. How to get rid of this Proxy E-mail stuff ? Is this a FB-setting for each individul user ?

tried again with another FB-user and got the Error-message:
"Please enter a value using 60 characters or fewer."
 

erich37

Well-known member
#11
You have to select the "normal" e-mail address.


View attachment 5297
yeah, but how do I tell this to the user who is signing up via FaceBook ? So that this user does not get an error-message ?

So if the user is signing-up by using FaceBook and is keeping the setting "proxymail.facebook.com", then the user is getting an Error-message.

Is this a XF-bug or a FaceBook setting ? I am trying to get some help from the FB-developer forum.
 

Ray

Active member
#12
Okay, it's not a bug.

This only affects NEW Facebook accounts.

If you already have an ACTIVE Facebook account, login and create your app.

If you intend to use a new Facebook account with your site, make sure you add at least 2 people/friends and post a few wall comments.

If you just open an account and create an app, Facebook will set the "proxified e-mail" as the user's default.
 

erich37

Well-known member
#14
Okay, it's not a bug.

This only affects NEW Facebook accounts.

If you already have an ACTIVE Facebook account, login and create your app.

If you intend to use a new Facebook account with your site, make sure you add at least 2 people/friends and post a few wall comments.

If you just open an account and create an app, Facebook will set the "proxified e-mail" as the user's default.
I logged in with my same FB-account into 2 different of my XF-websites. At one website it is working fine, at the other website it shows the proxy-mail. So not sure if this has anything to do how many friends or wall-posts you have at FB......
 

Ray

Active member
#15
I logged in with my same FB-account into 2 different of my XF-websites. At one website it is working fine, at the other website it shows the proxy-mail. So not sure if this has anything to do how many friends or wall-posts you have at FB......
Here is an example:

site.com << app under new fb account.
site.net << app under existing/active fb account.

user(facebook user) logs into site.com, since the app at site.com was created under a new fb account, facebook will set the proxified-email as default email address.

user(facebook user) logs into site.net, since the app at site.net was created under an active fb account, facebook will set the normal email address as the user's default.
If you are the user login in, it doesn't matter whether or not you have friends etc.
 

Ray

Active member
#16
Where do I go in FB to find this setting?
To change that setting, you have to create the app under an active facebook account.
If you create an app under a brand new facebook account, facebook will set the "proxied email" as the default e-mail address and the user will have to GRANT permission to use the non-proxy one.
 

Neal

Well-known member
#19
This isn't an issue with my setup, the email is fine, but when I try to connect, I get this error:

An error occurred while connecting with Facebook. Please try again later.
 

Jamie

Well-known member
#20
Same for me Neal-UK . I have tried editing the app I was using for my IPB site that was working, and that didn't work. I tried creating another brand new app for the xenforo site and that didn't work.

I have yet to get past the An error occurred page.

I have a FB app setup for the IPB site and it's working, but I just can't get it to work no matter what I try under my xenforo test site. I do wonder why the xF site isn't asking for the Application ID, but my IPB site is.

Jamie