Facebook Login error

By Toledoh - January 22, 2016

Hey.

I'm getting the error "Error: No facebook email found!" with the facebook login plugin.  Have you had that before?

Cheers,

Tim (toledoh.com.au)

By ross - January 26, 2016

Hi Tim

I had a look at the code and I think the problem might end up being with the email address supplied in the Facebook account you are logging in with. Could you double check that setting in your Facebook account?

Thanks!

-----------------------------------------------------------
Cheers,
Ross Fairbairn - Consulting
consulting@interactivetools.com

Hire me! Save time by getting our experts to help with your project.
Template changes, advanced features, full integration, whatever you
need. Whether you need one hour or fifty, get it done fast with
Priority Consulting: http://www.interactivetools.com/consulting/

By Toledoh - January 26, 2016

Hi Ross.

I've tested with a few FB accounts, and I get the same error.  

In the plugin, there is:

if (!@$user['email']) { die("Error: No facebook email found!"); } // this code show never run but prevents errors if an email isn't specified

I think it may have something to do with the way I have set up the Facebook App.  The site is not live, and I do not have a domain for it - so I am using the IP address and I don't think FB likes it.

Cheers,

Tim (toledoh.com.au)