alzander wrote: Check out the root class in the /libraries/sourcecoast/plugins/socialprofile.php file. The onRegister function *can* get the profile data, but it has to do it a little more special. It does it automatically and then calls the createUser function, which you may want to use instead for what you're trying to do. Otherwise, override the onRegister function and pull the user's profile manually as shown in that function.
On registration, JFBConnect can and definitely does import a user's profile. That's necessary when things like admin activation are disabled so that the profile is filled out before a an admin goes to approve it. In that case, the onLogin event shouldn't even be called.
I hope that helps explain more, but if not, let me know!
Thanks,
Alex
JFBCFactory::usermap()->getUserAccessToken($jUserId, 'facebook');
JFBCFactory::provider('facebook')->client->getToken()
Join our newsletter to get alerts for Joomla releases, tips and tricks and extension updates.