Version 3.3.4
This commit is contained in:
1 parent
78706903a2
commit
fb6b5baabc
2206 files changed
+409828
-382984
No files matched your search
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Patches (Matt Mecham - Invision Power Services - May 2010)
|
||||
* Patches (Matt Mecham - Invision Power Services - mmecham@invisionpower.com - May 2010)
|
||||
* - added verify peer for IIS/Windows CURL
|
||||
* - added non-curl fall back method in makeRequest
|
||||
*/
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
<html>
|
||||
<head><title>IP.Board - Bulletin Board System</title></head>
|
||||
<body>
|
||||
<h1>403: IP.Board -> Forbidden</h1>
|
||||
<hr>
|
||||
You have reached this page in error, please use your back button to return to the forum.
|
||||
<hr>
|
||||
<a href="http://www.invisionpower.com">IP.Board</a>
|
||||
</body>
|
||||
<html>
|
||||
<head><title>IP.Board - Bulletin Board System</title></head>
|
||||
<body>
|
||||
<h1>403: IP.Board -> Forbidden</h1>
|
||||
<hr>
|
||||
You have reached this page in error, please use your back button to return to the forum.
|
||||
<hr>
|
||||
<a href="http://www.invisionpower.com">IP.Board</a>
|
||||
</body>
|
||||
</html>
|
||||
Reference in new issue
Block a user