Version 3.3.4

This commit is contained in:
Neo committed 2025-12-19 00:35:52 -08:00
1 parent 78706903a2
commit fb6b5baabc
2206 files changed
+409828 -382984

No files matched your search

+7 -3
View File
@@ -4,7 +4,7 @@
* Simple oAuth wrapper for Facebook
* Designed to stream line log in and token exchange
* By Matt Mecham (Invision Power Services, Inc)
* http://hatynka.in
* http://www.invisionpower.com
* April 2010
*
* Version 0.1
@@ -197,9 +197,13 @@ class FacebookOAuth
/* Send it and hope to receive access_token=blah */
$result = $this->_send( $url, 'GET' );
if ( preg_match( "#^access_token=(.*)$#", $result, $match ) )
$params = null;
parse_str($result, $params);
if ( $params['access_token'] )
{
return $match[1];
return $params['access_token'];
}
else
{