Reeder (iOS) integration with TT-RSS (via Fever API)

Post plugins and custom CSS snippets here
aki
Bear Rating Trainee
Bear Rating Trainee
Posts: 7
Joined: 02 May 2013, 01:04

Re: Reeder (iOS) integration with TT-RSS (via Fever API)

Postby aki » 28 Jun 2013, 15:38

Same here. Marking read individual article not working.

debug log:
Read individual

Code: Select all

parameter: {"manage":"statuses","mark":"item","as":"read","id":"56543","1372418457497":""}
answer   : {"api_version":3,"auth":0}

User avatar
murphy
Bear Rating Trainee
Bear Rating Trainee
Posts: 21
Joined: 27 Jun 2013, 15:57

Re: Reeder (iOS) integration with TT-RSS (via Fever API)

Postby murphy » 28 Jun 2013, 15:47

Can you post some more from the debug logs? Would be good to trace the error? Is the login call there? Since my iPad does run without problems, it would be a great help.
Importent: Please remove the email, password and apikey from the log.

aki
Bear Rating Trainee
Bear Rating Trainee
Posts: 7
Joined: 02 May 2013, 01:04

Re: Reeder (iOS) integration with TT-RSS (via Fever API)

Postby aki » 28 Jun 2013, 16:08

murphy wrote:Can you post some more from the debug logs?


Code: Select all

parameter: {"api":"","groups":"","api_key":"***snip***"}
answer   : {"api_version":3,"auth":1,"last_refreshed_on_time":"1372421009","groups":[***snip***]}
parameter: {"api":"","feeds":"","api_key":"***snip***"}
answer   : {"api_version":3,"auth":1,"last_refreshed_on_time":"1372421009","feeds":[***snip***]}
parameter: {"api":"","unread_item_ids":"","api_key":"***snip***"}
answer   : {"api_version":3,"auth":1,"last_refreshed_on_time":"1372421009","unread_item_ids":"56557"}
parameter: {"api":"","saved_item_ids":"","api_key":"***snip***"}
answer   : {"api_version":3,"auth":1,"last_refreshed_on_time":"1372421009","saved_item_ids":"28541,32803,37110,40931,47628,51362,51872,54112,55637,55778,56153"}
parameter: {"api":"","items":"","since_id":"56567","api_key":"***snip***"}
answer   : {"api_version":3,"auth":1,"last_refreshed_on_time":"1372421009","total_items":"7173","items":[]}
parameter: {"manage":"statuses","mark":"item","as":"read","id":"56557","1372421021897":""}
answer   : {"api_version":3,"auth":0}


There's no login calls. Probably because I'm using ttrss with single_user_mode?

User avatar
murphy
Bear Rating Trainee
Bear Rating Trainee
Posts: 21
Joined: 27 Jun 2013, 15:57

Re: Reeder (iOS) integration with TT-RSS (via Fever API)

Postby murphy » 28 Jun 2013, 16:37

Please update your plugin from the github link once more. Please be sure to use v1.4.1! May be change the password of the Fever API to a simpler one for testing. Mr.Reader should ask for the new password. I tried it and i get the login calls in my api.

See here:

Code: Select all

parameter: {"api":"","groups":"","api_key":"64xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"}
answer   : {"api_version":3,"auth":0}
parameter: {"api":"","api_key":"08xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"}
answer   : {"api_version":3,"auth":1,"last_refreshed_on_time":"1372421170"}
parameter: {"action":"login","email":"***","password":"***"}
auth POST: {"email":null,"password":"***","apikey":"08xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"}
answer   : {"api_version":3,"auth":1,"last_refreshed_on_time":"1372421170"}
parameter: {"manage":"statuses","mark":"item","as":"read","id":"3664","1372422721133":"","fever_auth":"08xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"}
answer   : {"api_version":3,"auth":1,"last_refreshed_on_time":"1372421170","unread_item_ids":"7,93,107,192,271"}
parameter: {"manage":"statuses","mark":"item","as":"unread","id":"3664","1372422724882":"","fever_auth":"08xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"}
answer   : {"api_version":3,"auth":1,"last_refreshed_on_time":"1372421170","unread_item_ids":"7,93,107,192,271,3664"}


64xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx - old password
08xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx - after reentering in Mr.Reader the "new" password - i used test for the testing approach

All other things should be clear. There is a auth POST call with email (which is equal to my username) and the new password. After this call a cookie with 'fever_auth' is set on the iPad, which will be used from Mr.Reader to read and unread the item.

aki
Bear Rating Trainee
Bear Rating Trainee
Posts: 7
Joined: 02 May 2013, 01:04

Re: Reeder (iOS) integration with TT-RSS (via Fever API)

Postby aki » 28 Jun 2013, 17:13

I'm sure I installed v1.4.1.

Code: Select all

parameter: {"api":"","groups":"","api_key":"A6***snip***"}
answer   : {"api_version":3,"auth":1,"last_refreshed_on_time":"1372423056","groups":[***snip***]}
parameter: {"api":"","feeds":"","api_key":"A6***snip***"}
answer   : {"api_version":3,"auth":1,"last_refreshed_on_time":"1372423056","feeds":[***snip***]}
parameter: {"api":"","unread_item_ids":"","api_key":"A6***snip***"}
answer   : {"api_version":3,"auth":1,"last_refreshed_on_time":"1372423056","unread_item_ids":"56557"}
parameter: {"api":"","saved_item_ids":"","api_key":"A6***snip***"}
answer   : {"api_version":3,"auth":1,"last_refreshed_on_time":"1372423056","saved_item_ids":"28541,32803,37110,40931,47628,51362,51872,54112,55637,55778,56153"}
parameter: {"api":"","items":"","since_id":"56567","api_key":"A6***snip***"}
answer   : {"api_version":3,"auth":1,"last_refreshed_on_time":"1372423056","total_items":"7183","items":[]}
parameter: {"api":"","api_key":"28***snip***"}
answer   : {"api_version":3,"auth":1,"last_refreshed_on_time":"1372423056"}
parameter: {"api":"","groups":"","api_key":"28***snip***"}
answer   : {"api_version":3,"auth":1,"last_refreshed_on_time":"1372423056","groups":[***snip***]}
parameter: {"api":"","feeds":"","api_key":"28***snip***"}
answer   : {"api_version":3,"auth":1,"last_refreshed_on_time":"1372423056","feeds":[***snip***]}
parameter: {"api":"","unread_item_ids":"","api_key":"28***snip***"}
answer   : {"api_version":3,"auth":1,"last_refreshed_on_time":"1372423056","unread_item_ids":"56557"}
parameter: {"api":"","saved_item_ids":"","api_key":"28***snip***"}
answer   : {"api_version":3,"auth":1,"last_refreshed_on_time":"1372423056","saved_item_ids":"28541,32803,37110,40931,47628,51362,51872,54112,55637,55778,56153"}
parameter: {"api":"","items":"","since_id":"56567","api_key":"28***snip***"}
answer   : {"api_version":3,"auth":1,"last_refreshed_on_time":"1372423056","total_items":"7183","items":[]}
parameter: {"action":"login","email":"***snip***","password":"***snip***"}
auth POST: {"email":null,"password":"***not displayed***","apikey":"28***snip***"}
answer   : {"api_version":3,"auth":1,"last_refreshed_on_time":"1372423470"}
parameter: {"manage":"statuses","mark":"item","as":"read","id":"56557","1372423496033":""}
answer   : {"api_version":3,"auth":0}

I don't know why but I can get article list with any password. Mr.Reader didn't ask for the new password. So I manually changed it.

sledgehammer89
Bear Rating Trainee
Bear Rating Trainee
Posts: 17
Joined: 10 Jun 2010, 02:20

Re: Reeder (iOS) integration with TT-RSS (via Fever API)

Postby sledgehammer89 » 28 Jun 2013, 18:12

Thank you! But same here: can't choose one entry as read, only the whole folder. Marking as "starred" doesn't work too.

Using on a Synology (DSM 4.2) TT-RSS 1.8, your newest plugin, Mr. Reader 2.0 (2.0.1 in the works, found at Twitter), reset Fever plugin and TT-RSS password manually.

Are there any caches which must be deleted?

User avatar
murphy
Bear Rating Trainee
Bear Rating Trainee
Posts: 21
Joined: 27 Jun 2013, 15:57

Re: Reeder (iOS) integration with TT-RSS (via Fever API)

Postby murphy » 28 Jun 2013, 18:17

Ok. Did you tried to remove the settings complete from Mr.Reader and then readd the tinytiny fever url? May be that will help. I'm currently dumbstruck, why Mr.Reader does not send the login command to the API... Try to clear all caches for browsers you may have on iOS...

You can try to enable the DEBUG_USER, but you need your user id from ttrss_users table. This disables the authentication complete. Use the new version 1.4.2 for this! If it works, we have an interim solution for one user systems.

Download here as usual: https://github.com/dasmurphy/tinytinyrss-fever-plugin

wjchen
Bear Rating Trainee
Bear Rating Trainee
Posts: 3
Joined: 28 Jun 2013, 17:57

Re: Reeder (iOS) integration with TT-RSS (via Fever API)

Postby wjchen » 28 Jun 2013, 18:26

The $_SESSION['uid'] seems to be null when call the method:

Code: Select all

/plugins/fever/?manage=statuses&mark=item&as=read&id=&

dburr
Bear Rating Trainee
Bear Rating Trainee
Posts: 14
Joined: 24 Jun 2013, 05:56

Re: Reeder (iOS) integration with TT-RSS (via Fever API)

Postby dburr » 28 Jun 2013, 20:38

murphy wrote:Ok. Did you tried to remove the settings complete from Mr.Reader and then readd the tinytiny fever url? May be that will help. I'm currently dumbstruck, why Mr.Reader does not send the login command to the API... Try to clear all caches for browsers you may have on iOS...

You can try to enable the DEBUG_USER, but you need your user id from ttrss_users table. This disables the authentication complete. Use the new version 1.4.2 for this! If it works, we have an interim solution for one user systems.

Download here as usual: https://github.com/dasmurphy/tinytinyrss-fever-plugin


OK here are my logs. I completely deleted my account from Mr. Reader and re-added it:

Code: Select all

parameter: {"api":"","api_key":"REDACTED"}
answer   : {"api_version":3,"auth":1,"last_refreshed_on_time":"1372437034"}
parameter: {"api":"","groups":"","api_key":"REDACTED"}
answer   : {"api_version":3,"auth":1,"last_refreshed_on_time":"1372437034","groups":...
parameter: {"api":"","feeds":"","api_key":"REDACTED"}
answer   : {"api_version":3,"auth":1,"last_refreshed_on_time":"1372437034","feeds":...
parameter: {"api":"","unread_item_ids":"","api_key":"REDACTED"}
answer   : {"api_version":3,"auth":1,"last_refreshed_on_time":"1372437034","unread_item_ids":...
parameter: {"api":"","items":"","with_ids":...
answer   : {"api_version":3,"auth":1,"last_refreshed_on_time":"1372437034","total_items":"2551","items":...
parameter: {"api":"","items":"","with_ids":...
answer   : {"api_version":3,"auth":1,"last_refreshed_on_time":"1372437034","total_items":"2551","items":...
parameter: {"api":"","saved_item_ids":"","api_key":"REDACTED"}
answer   : {"api_version":3,"auth":1,"last_refreshed_on_time":"1372437034","saved_item_ids":""}
parameter: {"api":"","items":"","since_id":"3698","api_key":"REDACTED"}
answer   : {"api_version":3,"auth":1,"last_refreshed_on_time":"1372437034","total_items":"2551","items":[]}
parameter: {"action":"login","email":"REDACTED","password":"REDACTED"}
auth POST: {"email":null,"password":"***not displayed***","apikey":"REDACTED - !mixed case!"}
PaSsWoRd
answer   : {"api_version":3,"auth":1,"last_refreshed_on_time":"1372437034"}
parameter: {"manage":"statuses","mark":"item","as":"read","id":"3691","1372437137944":""}
answer   : {"api_version":3,"auth":0}
parameter: {"manage":"statuses","mark":"item","as":"read","id":"3662","1372437142387":""}
answer   : {"api_version":3,"auth":0}
parameter: {"api":"","links":"","range":"1","offset":"0","page":"1","api_key":"REDACTED"}
answer   : {"api_version":3,"auth":1,"last_refreshed_on_time":"1372437143","links":[]}
parameter: {"api":"","groups":"","api_key":"REDACTED"}
answer   : {"api_version":3,"auth":1,"last_refreshed_on_time":"1372437143","groups":...
parameter: {"api":"","feeds":"","api_key":"REDACTED"}
answer   : {"api_version":3,"auth":1,"last_refreshed_on_time":"1372437143","feeds":...
parameter: {"api":"","unread_item_ids":"","api_key":"REDACTED"}
answer   : {"api_version":3,"auth":1,"last_refreshed_on_time":"1372437143","unread_item_ids":...
parameter: {"api":"","saved_item_ids":"","api_key":"REDACTED"}
answer   : {"api_version":3,"auth":1,"last_refreshed_on_time":"1372437143","saved_item_ids":""}
parameter: {"api":"","items":"","since_id":"3698","api_key":"REDACTED"}
answer   : {"api_version":3,"auth":1,"last_refreshed_on_time":"1372437143","total_items":"2551","items":[]}


What is interesting is that in all but one of the calls that include the api key, the api key is a hex value with the A-F in all uppercase; however in one and only one call including the api key, the API key was included with hex values a-f as lowercase (marked in the log as "REDACTED - !mixed case!") Not sure if that means anything or not.

User avatar
murphy
Bear Rating Trainee
Bear Rating Trainee
Posts: 21
Joined: 27 Jun 2013, 15:57

Re: Reeder (iOS) integration with TT-RSS (via Fever API)

Postby murphy » 28 Jun 2013, 21:26

dburr wrote:OK here are my logs. I completely deleted my account from Mr. Reader and re-added it:

Code: Select all

...
parameter: {"action":"login","email":"REDACTED","password":"REDACTED"}
auth POST: {"email":null,"password":"***not displayed***","apikey":"REDACTED - !mixed case!"}
PaSsWoRd
answer   : {"api_version":3,"auth":1,"last_refreshed_on_time":"1372437034"}
parameter: {"manage":"statuses","mark":"item","as":"read","id":"3691","1372437137944":""}
answer   : {"api_version":3,"auth":0}
parameter: {"manage":"statuses","mark":"item","as":"read","id":"3662","1372437142387":""}
answer   : {"api_version":3,"auth":0}
...


What is interesting is that in all but one of the calls that include the api key, the api key is a hex value with the A-F in all uppercase; however in one and only one call including the api key, the API key was included with hex values a-f as lowercase (marked in the log as "REDACTED - !mixed case!") Not sure if that means anything or not.

It's not importent if the API Key is uppercase or lowercase, since in the Plugin it will be always be converted internal to lowercase for the authentification in the database, but any way i posted an update on Github v1.4.3, so that it should not be any problem any time in the future.

But it seems, that your iPad does not store the cookie needed in the Mr.Reader App. Did you turn off cookie saving or configured something other than default?

aki
Bear Rating Trainee
Bear Rating Trainee
Posts: 7
Joined: 02 May 2013, 01:04

Re: Reeder (iOS) integration with TT-RSS (via Fever API)

Postby aki » 29 Jun 2013, 05:02

Installed v1.4.4, Reentered the password.
Here's intercepting proxy log:
http://pastebin.com/GEKyKUQ1

Looks like cookies saved and used correctly...

dburr
Bear Rating Trainee
Bear Rating Trainee
Posts: 14
Joined: 24 Jun 2013, 05:56

Re: Reeder (iOS) integration with TT-RSS (via Fever API)

Postby dburr » 29 Jun 2013, 06:43

murphy wrote:
dburr wrote:OK here are my logs. I completely deleted my account from Mr. Reader and re-added it:

Code: Select all

...
parameter: {"action":"login","email":"REDACTED","password":"REDACTED"}
auth POST: {"email":null,"password":"***not displayed***","apikey":"REDACTED - !mixed case!"}
PaSsWoRd
answer   : {"api_version":3,"auth":1,"last_refreshed_on_time":"1372437034"}
parameter: {"manage":"statuses","mark":"item","as":"read","id":"3691","1372437137944":""}
answer   : {"api_version":3,"auth":0}
parameter: {"manage":"statuses","mark":"item","as":"read","id":"3662","1372437142387":""}
answer   : {"api_version":3,"auth":0}
...


What is interesting is that in all but one of the calls that include the api key, the api key is a hex value with the A-F in all uppercase; however in one and only one call including the api key, the API key was included with hex values a-f as lowercase (marked in the log as "REDACTED - !mixed case!") Not sure if that means anything or not.

It's not importent if the API Key is uppercase or lowercase, since in the Plugin it will be always be converted internal to lowercase for the authentification in the database, but any way i posted an update on Github v1.4.3, so that it should not be any problem any time in the future.

But it seems, that your iPad does not store the cookie needed in the Mr.Reader App. Did you turn off cookie saving or configured something other than default?


OK, as it happened I needed to do a full factory reset of my iPad mini today, trying to get to the bottom of some other odd behavior I have been experiencing. First thing I tried after the newly wiped-clean iPad booted was installed Mr. Reader and tried setup my account. Completely brand new OS install, completely brand new Mr. Reader install, no configuration changes whatsoever (aside from entering my username/password). And unfortunately I am still seeing the exact same behavior.

Code: Select all


# brand new Mr Reader install, brand new (restored to factory
# defaults) iPad, absolutely no custom configuration/settings
# (aside from entering my ttrss-fever login/password)

parameter: {"api":"","api_key":"API_KEY_REDACTED"}
answer   : {"api_version":3,"auth":1,"last_refreshed_on_time":"1372472911"}
parameter: {"api":"","groups":"","api_key":"API_KEY_REDACTED"}
answer   : {"api_version":3,"auth":1,"last_refreshed_on_time":"1372472911","groups":...
parameter: {"api":"","feeds":"","api_key":"API_KEY_REDACTED"}
answer   : {"api_version":3,"auth":1,"last_refreshed_on_time":"1372472911","feeds":...
parameter: {"api":"","unread_item_ids":"","api_key":"API_KEY_REDACTED"}
answer   : {"api_version":3,"auth":1,"last_refreshed_on_time":"1372472911","unread_item_ids":...
parameter: {"api":"","items":"","with_ids":...,"api_key":"API_KEY_REDACTED"}
answer   : {"api_version":3,"auth":1,"last_refreshed_on_time":"1372472911","total_items":"2633","items":...
parameter: {"api":"","items":"","with_ids":...,"api_key":"API_KEY_REDACTED"}
answer   : {"api_version":3,"auth":1,"last_refreshed_on_time":"1372472911","total_items":"2633","items":...
parameter: {"api":"","saved_item_ids":"","api_key":"API_KEY_REDACTED"}
answer   : {"api_version":3,"auth":1,"last_refreshed_on_time":"1372472911","saved_item_ids":""}
parameter: {"api":"","items":"","since_id":"3819","api_key":"API_KEY_REDACTED"}
answer   : {"api_version":3,"auth":1,"last_refreshed_on_time":"1372472911","total_items":"2633","items":[]}

# "new account" dialog dismissed, initial sync finished

parameter: {"action":"login","email":"LOGIN_REDACTED","password":"PASSWORD_REDACTED"}
auth POST: {"email":"LOGIN_REDACTED","apikey":"API_KEY_REDACTED"}
answer   : {"api_version":3,"auth":1,"last_refreshed_on_time":"1372472911"}
parameter: {"manage":"statuses","mark":"item","as":"read","id":"3716","1372472998849":""}
answer   : {"api_version":3,"auth":0}
parameter: {"manage":"statuses","mark":"item","as":"read","id":"3719","1372473004366":""}
answer   : {"api_version":3,"auth":0}

# just read 2 articles (which marked them as read)

parameter: {"api":"","groups":"","api_key":"API_KEY_REDACTED"}
answer   : {"api_version":3,"auth":1,"last_refreshed_on_time":"1372472911","groups":...
parameter: {"api":"","feeds":"","api_key":"API_KEY_REDACTED"}
answer   : {"api_version":3,"auth":1,"last_refreshed_on_time":"1372472911","feeds":...
parameter: {"api":"","unread_item_ids":"","api_key":"API_KEY_REDACTED"}
answer   : {"api_version":3,"auth":1,"last_refreshed_on_time":"1372472911","unread_item_ids":...
parameter: {"api":"","saved_item_ids":"","api_key":"API_KEY_REDACTED"}
answer   : {"api_version":3,"auth":1,"last_refreshed_on_time":"1372472911","saved_item_ids":""}
parameter: {"api":"","items":"","since_id":"3819","api_key":"API_KEY_REDACTED"}
answer   : {"api_version":3,"auth":1,"last_refreshed_on_time":"1372472911","total_items":"2633","items":[]}

# hit sync button, watched 2 articles I just read turn unread again


I even tried setting Safari cookies to "accept all" (default is to block 3rd party cookies) but that didn't help, saw the exact same behavior.

wjchen
Bear Rating Trainee
Bear Rating Trainee
Posts: 3
Joined: 28 Jun 2013, 17:57

Re: Reeder (iOS) integration with TT-RSS (via Fever API)

Postby wjchen » 29 Jun 2013, 06:51


akrabat
Bear Rating Trainee
Bear Rating Trainee
Posts: 3
Joined: 28 Jun 2013, 00:06

Re: Reeder (iOS) integration with TT-RSS (via Fever API)

Postby akrabat » 29 Jun 2013, 11:56

I have submitted a patch to the github repository that fixes the inability for some people to mark individual items as read: https://github.com/dasmurphy/tinytinyrs ... ll/3/files


Regards,

Rob...

dburr
Bear Rating Trainee
Bear Rating Trainee
Posts: 14
Joined: 24 Jun 2013, 05:56

Re: Reeder (iOS) integration with TT-RSS (via Fever API)

Postby dburr » 29 Jun 2013, 12:07

akrabat wrote:I have submitted a patch to the github repository that fixes the inability for some people to mark individual items as read: https://github.com/dasmurphy/tinytinyrs ... ll/3/files


Regards,

Rob...


Seems to have done the trick for me. I can now mark as read both individual articles as well as entire feeds/groups of feeds.
Won't know that this did the trick for sure until tomorrow or so when more new feed items arrive (things are a bit quiet in RSS-land at this hour).
But this is definitely promising.
Woohoo!


Return to “Themes and plugins”

Who is online

Users browsing this forum: No registered users and 5 guests