We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

New version of plugin error - Facebook Connect | Forum

Łukasz
Łukasz Feb 6 '13

Hi,


new version works better but after trying to login with fb I got a blank page with url like this: http://domain.com/facebook-connect/login?backUri=


So, plugin want to redirect user after login but don't know where to redirect. How can I set this?


Another question, I'm not sure how fb connect exactly works - if someone new login with fb, plugin will automatically create for him new accout from fields copied from fb and I will see his as user? 

Alia Team
Alia Feb 14 '13
Lukasz,

>>after trying to login with fb I got a blank page with url like this: http://domain.com/facebook-connect/login?backUri=

You will need to check the error log on your server.
Try to connect via FB, once you get the blank page, check your server's error log. The latest error should be the one connected to FB connect issue.

>>if someone new login with fb, plugin will automatically create for him new accout from fields copied from fb and I will see his as user?

Yes, you are right. When user logs in using FB connect, new user will automatically be created on your site. New user will have a username build from his first name used at FB+first letter of the last name.

Łukasz
Łukasz Feb 15 '13

Thanks for answer Aliia,


error log says:

[Fri Feb 15 14:59:26 2013] [error] [client 83.30.130.11] PHP Fatal error: Call to undefined function curl_init() in (...)/ow_libraries/facebook/base_facebook.php on line 786


and 786 line starts like this:


$ch = curl_init();
}

$opts = self::$CURL_OPTS;
if ($this->useFileUploadSupport()) {
$opts[CURLOPT_POSTFIELDS] = $params;
} else {
$opts[CURLOPT_POSTFIELDS] = http_build_query($params, null, '&');
}
$opts[CURLOPT_URL] = $url;


The Forum post is edited by Łukasz Feb 15 '13
NETWB
NETWB Apr 16 '13
me too
You do not have permission to reply this topic