function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Janardhana ReddyJanardhana Reddy 

salesforce integration with facebook

My requirement is user can login from facebook into the salesforce customer portal.
I followed th instruction given in the URL below.
https://help.salesforce.com/HTViewHelpDoc?id=sso_provider_facebook.htm&language=en_US#sso_provider_facebook
user not created in salesforce.
help me any one please.
Best Answer chosen by Janardhana Reddy
Janardhana ReddyJanardhana Reddy
I got Solution, main problem with the AutocreatedRegHandler class it's getting Null value.

All Answers

logontokartiklogontokartik
Can you provide more details? Also, can you enable debug logs on Salesforce to identify if there is an error. Also take a look at the below blog post that has more info

https://developer.salesforce.com/blogs/developer-relations/2012/01/social-single-sign-on-authentication-providers-in-spring-12.html
Janardhana ReddyJanardhana Reddy
Hi logontokartik,
ErrorCode=NO_ACCESS&ErrorDescription=Unable+to+find+a+user#_=_

31.0 APEX_CODE,DEBUG;APEX_PROFILING,INFO;CALLOUT,INFO;DB,INFO;SYSTEM,DEBUG;VALIDATION,INFO;VISUALFORCE,INFO;WORKFLOW,INFO
02:54:57.183 (183049024)|EXECUTION_STARTED
02:54:57.183 (183091203)|CODE_UNIT_STARTED|[EXTERNAL]|01pe00000006GT7|RegistrationHandlerUserUpdate
02:54:57.183 (183715208)|METHOD_ENTRY|[5]|01pe00000006GT7|AutocreatedRegHandler1408946452571.AutocreatedRegHandler1408946452571()
02:54:57.183 (183728985)|METHOD_EXIT|[5]|AutocreatedRegHandler1408946452571
02:54:57.184 (184534553)|SYSTEM_MODE_ENTER|false
02:54:57.184 (184592710)|METHOD_ENTRY|[16]|01pe00000006GT7|AutocreatedRegHandler1408946452571.canCreateUser(Auth.UserData)
02:54:57.184 (184672758)|METHOD_EXIT|[16]|01pe00000006GT7|AutocreatedRegHandler1408946452571.canCreateUser(Auth.UserData)
02:54:57.184 (184694699)|SYSTEM_MODE_EXIT|false
02:54:57.577 (185557026)|CUMULATIVE_LIMIT_USAGE

Janardhana ReddyJanardhana Reddy
I got Solution, main problem with the AutocreatedRegHandler class it's getting Null value.
This was selected as the best answer