|
![]() |
|
Thread Tools | Search this Thread |
![]() |
#16 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,074
Karma: 3581333
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. |
![]() |
![]() |
![]() |
#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 | |
|
![]() |
#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
|
![]() |
![]() |
![]() |
#19 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,074
Karma: 3581333
Join Date: Sep 2014
Location: Ukraine
Device: Kindle PW2, PW3, PW4, Voyage
|
Quote:
https://github.com/koreader/koreader/pull/10666 |
|
![]() |
![]() |
![]() |
#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 | |
|
![]() |
#21 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,074
Karma: 3581333
Join Date: Sep 2014
Location: Ukraine
Device: Kindle PW2, PW3, PW4, Voyage
|
Good to know!
|
![]() |
![]() |
![]() |
#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 |
![]() |
![]() |
![]() |
#23 | |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 113
Karma: 348662
Join Date: Jan 2023
Location: Indonesia
Device: Kobo Clara 2E
|
![]() Quote:
Thank you! ![]() Last edited by hatuluang; 10-07-2023 at 10:41 PM. |
|
![]() |
![]() |
![]() |
#24 |
Member
![]() Posts: 23
Karma: 10
Join Date: Jan 2023
Device: Kindle Paperwhite
|
Can i synch highlights with this method? Thank you
|
![]() |
![]() |
![]() |
#25 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,074
Karma: 3581333
Join Date: Sep 2014
Location: Ukraine
Device: Kindle PW2, PW3, PW4, Voyage
|
|
![]() |
![]() |
![]() |
#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
![]() ![]() |
![]() |
![]() |
![]() |
#27 |
Junior Member
![]() Posts: 3
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. |
![]() |
![]() |
![]() |
#28 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Nov 2016
Device: Voyage WiFi
|
![]()
Yoiur instructions worked perfectly. I just need to figure out the minimal permissions I need once set up.
|
![]() |
![]() |
![]() |
#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 |
![]() |
![]() |
![]() |
#30 |
Enthusiast
![]() Posts: 25
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 |
|
![]() |
||||
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 12:09 PM |
Excel VBA: Programming For Complete Beginners, Step-By-Step Illustrated Guide | WilliamBSkates | Self-Promotions by Authors and Publishers | 1 | 10-20-2018 11:51 AM |
Mac OSX: Idiot-Proof Font Scaling Fix [Step-by-step] | Jelbee | Kobo Reader | 2 | 06-14-2010 12:16 PM |
Step by step: How to borrow library books via Overdrive on the prs-600 | ebooker | Sony Reader | 3 | 11-14-2009 10:25 AM |