Closed n370 closed 9 years ago
Does your Contact table have a fbUserId__c column?
@chrisanderton
It seems it doesn't Chris.
Ok - if you look here line 78, Facebook.js you will see the columns it is trying to insert into.
I think the problem is that these columns are created when you use Heroku Connect to connect to Salesforce - they are not currently created for you when using in isolation.
If you add the following two columns to your Contact table (the data types in brackets are what i am pulling out from a db i have here - i don't know why gender needs 255 chars max!):
fbUserIdc (varchar, max 50) genderc (varchar max 255)
And then try it..
Thanks @chrisanderton! It's working fine now. I just had to make sure column names were all lowercase.
I just cloned the project and worked through this guide to get it working locally. Unfortunately as soon as I clicked the "login with facebook" button this is what I got.
Any clue?