-
Notifications
You must be signed in to change notification settings - Fork 33
EpiFoursquare.php support upload photo #15
base: master
Are you sure you want to change the base?
Conversation
What happened to this diff??? :) I'll pull down your changes and have a look. Really appreciate the contribution :). - Thanks. |
I referenced the sample code at https://github.com/jmathai/foursquare-async/pull/15/files stdClass Object
) |
my code as follow |
The library doesn't parse the response so I'm not sure why the extension is If you see the extension stripped out then I'd check with the foursquare api On Thu, Aug 25, 2011 at 1:18 AM, henrychen95 <
|
@@ -77,9 +77,9 @@ class EpiFoursquare
77 77
return $this->request('GET', $endpoint, $params);
78 78
}
79 79
80
80
81 81
{
82
82
83 83
}
84 84
85 85
public function __construct($clientId = null, $clientSecret = null, $accessToken = null)
... ...
@@ -97,7 +97,7 @@ class EpiFoursquare
97 97
return "{$this->apiUrl}{$endpoint}";
98 98
}
99 99
100
100
101 101
{
102 102
if(preg_match('#^https?://#', $endpoint))
103 103
$url = $endpoint;
... ...
@@ -128,7 +128,11 @@ class EpiFoursquare
128 128
curl_setopt($ch, CURLOPT_INTERFACE, $_SERVER ['SERVER_ADDR']);
129 129
if($method === 'POST' && $params !== null)
130 130
{
131
}
133 137
134 138
$resp = new EpiFoursquareJson(EpiCurl::getInstance()->addCurl($ch), $this->debug);