First of all I want to thank you for the oath_client_class, it is very useful.
Also I like the way the storage calls can be overridden, very useful.
I had a small problem with the SendApiRequest method, especially when using method a of "POST". The authorization data was not sent to the (dropbox) host.
Fortunately it was easy to solve in the source of auto_client.php:
Line 1303 reads:
$arguments['PostValues'] = $parameters;
If I replaced this by:
$arguments['PostValues'] = $post_values;
and all worked fine.
The following code can be used to reproduce the problem, it didn't work and with the above mentioned patch it did.
// $myClientId : Dropbox application client ID
// $myClientSecret: Secret code belonging to client ID
// $myRedirectUri: The URL Dropbox will refer back to after successfull approval
// $previousCursor: If any: the previous sync code Dropbox provided.
Sebastian B. - 2013-12-16 22:03:51 - In reply to message 3 from E.F. de moor
The patch fixes a problem I had with POST (to XING API) containing parameters, thank you!
But it seems that the patch breaks parameter support for API requests using GET method. (I'm not 100% sure about this. I performed only a short test because my GET requests don't need parameters in my use case)
E.F. de moor - 2014-01-12 10:16:30 - In reply to message 7 from Manuel Lemos
Thanks a lot for applying the patch, and even more so for adding Dropbox2!
My dropbox connection with your patched source still works, so I will soon replace it with your new version, will let you know!