Comments
-
Now am using above code. Error is removed now but its not returning any response.
-
Now am using CURLOPT_HTTPHEADER => array( 'Authorization: Bearer ' . $key, 'Dropbox-API-Arg:' . $data), but it giving me below error. Error in call to API function "files/download": You provided a non-empty HTTP "Content-Type" header ("application/x-www-form-urlencoded"). This API function requires that the header be…
-
Hey Gregory I have a query regarding download api. I am trying to download files by curl thorugh api.https://content.dropboxapi.com/2/files/download. But when am trying to send a curl req by sending below code it return nothing. $ch = curl_init(); $postData = array('path' => $folder); $data = json_encode($postData);…
-
yuppy thanks Gregory .Its working :)
-
can you please tell me the parameter for https://api.dropboxapi.com/1/oauth2/token_from_oauth1 url . how can i pass the above access token to this to convert oauth1 access token to oauth2 access token . i am using below code $ch = curl_init(); $postData = array(access_token => "32uqesryirha3ubf"); curl_setopt_array($ch,…
-
i am using oAuth1 to login a user. Now after login i am getting access token of a user. But when i am trying to fetch all files and folders using v2 version by https://api.dropboxapi.com/2/files/list_folder using this access_token its shows a error . my response after login is Array ( [oauth_token_secret] => <redacted>…
-
Thanks for reply . But i am using api funtion already to get files and folder by api functions of a particular account by api acess token. But now the issue is that i want to get all the files and folder of login user( not from a particular account on which app is created ) Is their any funtionallity that i can get this by…