Loading...
 
Features / Usability

Features / Usability


Re: Social Login unable to auto create user

posts: 400

Okay, just one more if you don't mind biggrin

Around line 204 in lib/socialnetworkslib.php, replace this line:
$fp = fsockopen('ssl://graph.facebook.com', 443, $errno, $errstr);

With this:
$fp = stream_socket_client('ssl://graph.facebook.com:443', $errno, $errstr);

And then right after the next line which has this:
if ($fp) {

Place this:
Feedback::success('I am using sockets!');

So that in that area you have the following:
{CODE()}
. $prefs'socialnetworks_facebook_application_secr';
//try socket first
$fp = stream_socket_client('ssl://graph.facebook.com:443', $errno, $errstr);
if ($fp) {
Feedback::success('I am using sockets!');
$request = "GET $url HTTP/1.1\r\n" .
{CODE}

And let me know if the facebook login works and you get the success message.
Thanks again!
lindon

There are no comments at this time.

Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting