Message:
file_get_contents(https://graph.facebook.com/oauth/access_token?client_id=202235953147435&redirect_uri=http%3A%2F%2Fsexedesirs.co.uk%2FexternalAuth%2FfacebookAuth%2F&client_secret=199030773552ca2264015b20f2a07307&code=): failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request


File: /home/www/sex/stingle/packages/ExternalAuth/FacebookAuth/FacebookAuth.class.php on line 82

Trace: 
/home/www/sex/stingle/packages/ExternalAuth/FacebookAuth/FacebookAuth.class.php:82 - file_get_contents
/home/www/sex/stingle/packages/ExternalAuth/FacebookAuth/FacebookAuth.class.php:182 - getAccessToken - FacebookAuth
/home/www/sex/modules/externalAuth/facebookAuth.php:7 - getExtUser - FacebookAuth
/home/www/sex/stingle/packages/SiteNavigation/SiteNavigation/Controller.class.php:29 - include
/home/www/sex/stingle/packages/SiteNavigation/SiteNavigation/LoaderSiteNavigation.class.php:23 - exec - Controller
/home/www/sex/stingle/core/HookManager.class.php:26 - hookExecController - LoaderSiteNavigation
/home/www/sex/stingle/index.php:9 - callHook - HookManager
/home/www/sex/index.php:8 - require_once


Get:
Array
(
    [module] => externalAuth
    [page] => facebookAuth
)


Post:
Array
(
)


Cookie:
Array
(
)


Server:
Array
(
    [REDIRECT_UNIQUE_ID] => WcYio4u9SdI4prr1m@GOuAAAACc
    [REDIRECT_HTTPS] => on
    [REDIRECT_SSL_TLS_SNI] => www.sexedesirs.co.uk
    [REDIRECT_STATUS] => 200
    [UNIQUE_ID] => WcYio4u9SdI4prr1m@GOuAAAACc
    [HTTPS] => on
    [SSL_TLS_SNI] => www.sexedesirs.co.uk
    [HTTP_HOST] => www.sexedesirs.co.uk
    [HTTP_ACCEPT_ENCODING] => x-gzip, gzip, deflate
    [HTTP_USER_AGENT] => CCBot/2.0 (http://commoncrawl.org/faq/)
    [HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    [PATH] => /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
    [SERVER_SIGNATURE] => 
    [SERVER_SOFTWARE] => Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/5.6.31
    [SERVER_NAME] => www.sexedesirs.co.uk
    [SERVER_ADDR] => 178.33.76.129
    [SERVER_PORT] => 443
    [REMOTE_ADDR] => 54.224.184.33
    [DOCUMENT_ROOT] => /home/www/sex
    [REQUEST_SCHEME] => https
    [CONTEXT_PREFIX] => 
    [CONTEXT_DOCUMENT_ROOT] => /home/www/sex
    [SERVER_ADMIN] => contact@sexedesirs.com
    [SCRIPT_FILENAME] => /home/www/sex/index.php
    [REMOTE_PORT] => 40582
    [REDIRECT_URL] => /externalAuth/facebookAuth/
    [GATEWAY_INTERFACE] => CGI/1.1
    [SERVER_PROTOCOL] => HTTP/1.0
    [REQUEST_METHOD] => GET
    [QUERY_STRING] => 
    [REQUEST_URI] => /externalAuth/facebookAuth/
    [SCRIPT_NAME] => /index.php
    [PHP_SELF] => /index.php
    [REQUEST_TIME_FLOAT] => 1506157219.355
    [REQUEST_TIME] => 1506157219
    [REQUEST_ORIGINAL_URI] => /externalAuth/facebookAuth/
)


Code: 2