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
Dear Greg
Thank you for your reply. I worked but there are still some difficulties. I was wondering if there is also a solution for that.
when I get the Error 400, I have to copy and paste the link into a new tab because the Error's tab does not allow me to change the URL. So I have to copy & paste the URL into a new tab then I can sign in and access my files. Furthure more, I have to do this everytime I need to use my dropbox via moodle app :))) and it time consuming and really a pain.
Greg-DB
Dropbox Community Moderator
6 years agoFreddy shaddy Здравко is correct, this should ideally corrected in the third party app's code itself. If you're not the developer of the app, you may want to reach out to them to request they update the app accordingly.
- Freddy shaddy6 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.
- Greg-DB6 years ago
Dropbox Community Moderator
Freddy shaddy If you are not able to make the modification required, you'll need to reach out to the developers of Moodle for help. Dropbox can't offer help configuring and using Moodle itself, as it's made by a third party.
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!