Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding and removing items from favorites does not work anymore #459

Closed
floriegl opened this issue Feb 7, 2024 · 1 comment
Closed

adding and removing items from favorites does not work anymore #459

floriegl opened this issue Feb 7, 2024 · 1 comment

Comments

@floriegl
Copy link
Contributor

floriegl commented Feb 7, 2024

It looks like TGTG changed their API which now return 404 on https://apptoogoodtogo.com/api/item/v8/{item_id}/setFavorite

As I have no experience with reverse engineering mobile APIs I sadly can't support with fixing this issue.

Log from my instance with debug enabled (also shows that other requests work):
image

ahivert/tgtg-python#288 Looks like someone in a different repo with a TGTG client also has the same issue.

Edit: Did some Android MITM. The new Endpoint is POST /api/user/favorite/v1/{item_id}/update with body {"is_favorite":true} or {"is_favorite":false}

@Der-Henning
Copy link
Owner

Hi @floriegl.
Thank you for your contribution.
The new release 1.20.2 contains the update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants