Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
Freddy shaddy
6 years agoExplorer | Level 4
Dropnbox for Moodle
Hello,
I am using Moodle platform for online teaching. I was trying to connect my Dropbox account to my Moodle website. Everything was normal during the process. I put both API & Secret Key fro...
Freddy shaddy
6 years agoExplorer | Level 4
thank both of you, unfortunatelly I don't have any experience in app development related stuff. I'm not sure if I know someone who is an expert in this field. the app that I use is moodle, it is a web base learning environment. it works on wamp. do you have any information about moodle?
Здравко
6 years agoLegendary | Level 20
Hi Freddy shaddy,
I just take a look on Moodle and there is an application specific Dropbox client; the official Dropbox php SDK isn't used. In the client is missing initialization of the 'scope' field in the class' constructor. That's the bug. 🧐😉 You can fix it yourself.
Good luck.
PS: A bit more help info for you.
Take a look in the "dropbox" class constructor here and find out equivalent place in your install. After that, expand the line:
parent::__construct($key, $secret, $callback, '');
... to something like:
parent::__construct($key, $secret, $callback, 'account_info.read account_info.write files.metadata.read files.metadata.write files.content.write files.content.read sharing.read sharing.write file_requests.read file_requests.write contacts.write');
The only change is the last constructor argument - the scope. You can tune it in addition according your preferences and Greg-DB advices. I have just put an example value according the visible part of your settings posted.
About Discuss Dropbox Developer & API
Make connections with other developers
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!