cavestri / themoviedb-javascript-library

A Javascript library to interact with themoviedb.org Rest API.
http://askfranco.com
MIT License
331 stars 108 forks source link

Movies getAccountStatesGuest requires session_id #43

Open jeffreyspaan opened 6 years ago

jeffreyspaan commented 6 years ago

theMovieDb.movies.getAccountStatesGuest does not work without a session_id. see the TMDB documentation

I'm not sure if they did this on purpose since the tv, tv seasons and tv episodes 'AccountStates' methods don't require a session_id.

Either way, the method does not work.

cavestri commented 6 years ago

Hi, thanks for load the issue, i think that they could have a bug, i will contact them asking before update the library.

Thanks!

jeffreyspaan commented 6 years ago

Hi, after some testing I noticed that the getAccountStatesGuest method for TV and TV episodes also don't work with only a guest_session_id.

They return the error message:

Authentication failed: You do not have permissions to access the service.

cavestri commented 6 years ago

They have a bug for that:

https://www.themoviedb.org/talk/595994eb9251410bfa02e9d0

Bug: https://tmdb.lighthouseapp.com/projects/83077-api/tickets/574

Thanks!