|
|
Thread Tools | Search this Thread |
08-23-2023, 11:28 AM | #16 |
Wizard
Posts: 1,084
Karma: 3592495
Join Date: Sep 2014
Location: Ukraine
Device: Kindle PW2, PW3, PW4, Voyage
|
08/23/23-16:32:24 INFO Dropbox: cannot get access token
08/23/23-16:32:24 ERROR CloudStorage: nil It seems that you have an old version of KOReader. The newer versions give more detailed error info. |
08-23-2023, 11:45 AM | #17 | |
Enthusiast
Posts: 32
Karma: 164
Join Date: Oct 2021
Location: Finland
Device: Kobo Libra 2
|
Quote:
I'll check them again for the 40 time when I return home with a proper working wifi! |
|
Advert | |
|
08-23-2023, 11:46 AM | #18 |
Enthusiast
Posts: 32
Karma: 164
Join Date: Oct 2021
Location: Finland
Device: Kobo Libra 2
|
KOReader logs say I've 2023.06.1 version of the application on the Kobo
|
08-23-2023, 11:52 AM | #19 | |
Wizard
Posts: 1,084
Karma: 3592495
Join Date: Sep 2014
Location: Ukraine
Device: Kindle PW2, PW3, PW4, Voyage
|
Quote:
https://github.com/koreader/koreader/pull/10666 |
|
08-23-2023, 03:55 PM | #20 | |
Enthusiast
Posts: 32
Karma: 164
Join Date: Oct 2021
Location: Finland
Device: Kobo Libra 2
|
Quote:
Thank you for re-enforcing that there must be a mistake even though I was most certain that it was not the case. It seems tha either of the app_key or app_secret were wrongly written even though I literally copied them from the Dropbox site to the lua. I fixed the situation by copying those codes straight from the terminal as they worked there and it seems those fixed my issue. |
|
Advert | |
|
08-23-2023, 04:11 PM | #21 |
Wizard
Posts: 1,084
Karma: 3592495
Join Date: Sep 2014
Location: Ukraine
Device: Kindle PW2, PW3, PW4, Voyage
|
Good to know!
|
09-13-2023, 07:39 PM | #22 |
Connoisseur
Posts: 71
Karma: 2202292
Join Date: Nov 2018
Device: Kobo Libra 2
|
I finally got this working! I used to download books via the native Dropbox integration on kobo, but that required exiting and restarting KOreader each time. This is much faster
Some hurdles that I ran into that might help others: 1. The curl command is slightly different for windows terminal (replace \ with ^): Code:
curl https://api.dropbox.com/oauth2/token ^ -d code=AUTHORIZATION_CODE ^ -d grant_type=authorization_code ^ -u APP_KEY:APP_SECRET 3. To double check that you have the correct scope for your refresh token, when you run the curl command in terminal, check the "scope" parameter contain your chosen permissions (it will appear in the same output as the refresh token). For some reason my permissions didn't stick the first time and I was generating a token with only account_info.read, leading to a lot of frustration and confusion 4. Update to the latest KOReader version and check the crash log if things aren't working - it's more informative now and very useful when things go wrong, like when you have insufficient permissions or the wrong tokens etc |
10-06-2023, 03:01 PM | #23 | |
Zealot
Posts: 146
Karma: 348662
Join Date: Jan 2023
Location: Indonesia
Device: Kobo Clara 2E
|
Quote:
Thank you! Last edited by hatuluang; 10-07-2023 at 11:41 PM. |
|
10-31-2023, 06:31 AM | #24 |
Enthusiast
Posts: 28
Karma: 10
Join Date: Jan 2023
Device: Kindle Paperwhite
|
Can i synch highlights with this method? Thank you
|
10-31-2023, 07:39 AM | #25 |
Wizard
Posts: 1,084
Karma: 3592495
Join Date: Sep 2014
Location: Ukraine
Device: Kindle PW2, PW3, PW4, Voyage
|
|
11-16-2023, 11:08 AM | #26 |
Junior Member
Posts: 2
Karma: 10
Join Date: Nov 2023
Device: Kindle ppw5
|
how can i copy this code to my kindle? pls help me i am a newbie
|
02-07-2024, 11:41 AM | #27 |
Junior Member
Posts: 4
Karma: 10
Join Date: Apr 2013
Device: Kindle Paperwhite
|
This worked flawlessly and I'm delighted.
For reference, on a jailbroken Kindle PaperWhite (PW / B024), running 5.6.1.1 firmware with KOReader 2024.01. |
02-25-2024, 06:59 PM | #28 |
Junior Member
Posts: 4
Karma: 10
Join Date: Nov 2016
Device: Voyage WiFi
|
Thank You, perfect instructions for setting up Dropbox
Yoiur instructions worked perfectly. I just need to figure out the minimal permissions I need once set up.
|
02-27-2024, 10:48 PM | #29 |
Junior Member
Posts: 1
Karma: 10
Join Date: Feb 2024
Device: Kindle Paperwhite
|
Your instruction doesn't work for me, I don't know how.
When pressing the Info button, the information about my Dropbox account still appears like in the photo below. However, the app cannot fetch the file and folder list. Do you have any idea about this error? https://i.imgur.com/0aXSjw0.jpeg |
03-03-2024, 03:09 PM | #30 |
Enthusiast
Posts: 39
Karma: 10
Join Date: Nov 2023
Device: Kindle Oasis
|
help
[QUOTE=305869;4319446]
5. Request a refresh token using curl. Using the terminal I obtained a refresh token with this command: Code:
curl https://api.dropbox.com/oauth2/token \ -d code=AUTHORIZATION_CODE \ -d grant_type=authorization_code \ -u APP_KEY:APP_SECRET - Replace APP_KEY:APP_SECRET with your key and secret separated by a colon - In the terminal you get a response with various parameters. The important one is called refresh_token. I copied this code to enter in KOReader. [QUOTE] What terminal? the dropbox one or the pc one? |
Tags |
dropbox |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to install & set up Calibre Companion? Step-by-step instructions | DanielLauJJ | Calibre Companion | 0 | 03-28-2019 01:09 PM |
Excel VBA: Programming For Complete Beginners, Step-By-Step Illustrated Guide | WilliamBSkates | Self-Promotions by Authors and Publishers | 1 | 10-20-2018 12:51 PM |
Mac OSX: Idiot-Proof Font Scaling Fix [Step-by-step] | Jelbee | Kobo Reader | 2 | 06-14-2010 01:16 PM |
Step by step: How to borrow library books via Overdrive on the prs-600 | ebooker | Sony Reader | 3 | 11-14-2009 11:25 AM |