If I'm not mistaken, the following POST request did work earlier, but doesn't anymore?
https://api.themoviedb.org/3/account/[###]/favorite?api_key=[###] with the data:
{
favorite: true,
media_id: 123,
media_type: 'movie',
},
I get the response {"success":false,"status_code":34,"status_message":"The resource you requested could not be found."}
Can't find a movie or TV show? Login to create it.
Want to rate or add this item to a list?
Not a member?
Reply by simonferndriger
on July 29, 2024 at 12:53 PM
By the way, on the https://www.themoviedb.org/u/simonferndriger/favorites page the favorite toggle button doesn't work either. It only works on the detail page.
Reply by simonferndriger
on July 30, 2024 at 12:29 AM
Is this a known issue and somebody already working on it or are you as surprised as I am?
Reply by simonferndriger
on July 31, 2024 at 12:55 PM
Anyone?
Reply by Travis Bell
on August 1, 2024 at 11:21 AM
What's the
media_id
you are passing in?I am not seeing any issues:
Add to favourites
Response
Remove from favourites
Response
Reply by simonferndriger
on August 2, 2024 at 11:24 PM
I'm sorry, you're right! Now it works like it should. Don't know what the issue was before unfortunately, but I can imagine there was something wrong with the account id at first...
PS: But I can say that the media_id doesn't seem to matter when trying it on the tmdb website itself. See screen recording here: https://go.screenpal.com/watch/cZjeeqVPSoL - There I tried it for example for
205596
, and it only worked on the detail page https://www.themoviedb.org/movie/205596-the-imitation-game but NOT on my favorites page https://www.themoviedb.org/u/simonferndriger/favorites