I’m trying to create a Webapp which can read the user’s Dropbox files. If it helps to answer the question, I request the username and password. I’ve been searching and I found in Google Code a library using OAuth to access all the data in the user’s Dropbox.
My problem is that I don’t have OAuth installed in the server. I need to install it but I don’t have physical access to the server nor the php.ini file, so I’m not able too.
My question is if I can install it or at least simulate it uploading some files (which I can use like a class) to my directory, or if there’s some other way rather than calling to the Host and tell them to install it, if possible.
If there’s a way to access to the php.ini file and modify it to add the OAuth extension, or if it can be done via .htaccess (as the last chance) it will help too.
Thanks.
Edit: The error I get is:
Uncaught exception ‘Dropbox_Exception’ with message ‘The OAuth class could not be found! Did you install and enable the oauth extension?’
You don’t need to use the OAuth extension, you can do just fine by bundling any library that implements OAuth.
The OAuth site has several options listed on their site. Not only for PHP but for a variety of languages.
The documentation for the dropbox library that you’re using, states:
Since you can’t install the php extension, then download the HTTP OAUTH library.
Inside the folder “HTTP” are the files that you need, so you can include it manually.