The Movie Database Подршка

Under the V3 documentation: Guides > Authentication > Guest Sessions it says "They have limited permissions as they can only rate a movie, TV show and TV episode. " but under: API Reference > Authentication > Create Guest Session it says "For example, some of the things you can do with a guest session are; maintain a rated list, a watchlist and a favourite list." So do guest sessions have list functionalities? I've seen mentions of possibly adding the functionality in past questions but I never saw a definite answer.

Also, do generated guest sessions appear under the API > Sessions tab in the settings? I'm utilizing a Java wrapper from https://github.com/c-eg/themoviedbapi and I do seems to be getting them using the .getGuestSessionToken() method from their TmdbAuthentication.java class as I can print them out, but I would like to know if there's somewhere I can manage them or not if they are actually being created through this way.

When trying to create a list using a guest session, I end up with *ResponseStatus{code=3, message=Authentication failed: You do not have permissions to access the service.} * while testing this snippet:

TmdbApi tmdbApi = new TmdbApi(apiKey);
TmdbAuthentication tmdbAuthentication = tmdbApi.getAuthentication();
TmdbAccount tmdbAccount = tmdbApi.getAccount();
TmdbLists tmdbLists = tmdbApi.getLists();

TokenSession guestSessionToken = tmdbAuthentication.getGuestSessionToken();
String guestSessionTokenId = guestSessionToken.getGuestSessionId(); //prints the same result as sessionToken
SessionToken sessionToken = new SessionToken(guestSessionTokenId); //prints the same result as guestSessionTokenId

tmdbLists.createList(sessionToken, "Test Name", "Test Description");

Then I try rating a movie and I end up with the same response above when using:

tmdbAccount.postMovieRating(sessionToken, 1011985, 6);

I'm not expecting much help with the 3rd question but I thought I'd ask. Any and all help is appreciated.

1 одговор (на страни 1 од 1)

Jump to last post

@DavidVettuchirayil said:

Under the V3 documentation: Guides > Authentication > Guest Sessions it says "They have limited permissions as they can only rate a movie, TV show and TV episode. " but under: API Reference > Authentication > Create Guest Session it says "For example, some of the things you can do with a guest session are; maintain a rated list, a watchlist and a favourite list." So do guest sessions have list functionalities? I've seen mentions of possibly adding the functionality in past questions but I never saw a definite answer.

Guest sessions indeed only support rating things right now. I'll have to get that copy updated.

Also, do generated guest sessions appear under the API > Sessions tab in the settings? I'm utilizing a Java wrapper from https://github.com/c-eg/themoviedbapi and I do seems to be getting them using the .getGuestSessionToken() method from their TmdbAuthentication.java class as I can print them out, but I would like to know if there's somewhere I can manage them or not if they are actually being created through this way.

No, they do not.

When trying to create a list using a guest session, I end up with *ResponseStatus{code=3, message=Authentication failed: You do not have permissions to access the service.} * while testing this snippet:

TmdbApi tmdbApi = new TmdbApi(apiKey);
TmdbAuthentication tmdbAuthentication = tmdbApi.getAuthentication();
TmdbAccount tmdbAccount = tmdbApi.getAccount();
TmdbLists tmdbLists = tmdbApi.getLists();

TokenSession guestSessionToken = tmdbAuthentication.getGuestSessionToken();
String guestSessionTokenId = guestSessionToken.getGuestSessionId(); //prints the same result as sessionToken
SessionToken sessionToken = new SessionToken(guestSessionTokenId); //prints the same result as guestSessionTokenId

tmdbLists.createList(sessionToken, "Test Name", "Test Description");

Then I try rating a movie and I end up with the same response above when using:

tmdbAccount.postMovieRating(sessionToken, 1011985, 6);

I can't help much when you're using a wrapper around the calls since I have no idea what is actually being called and sent. If you can repeat these steps as plain HTTP calls, I can see if there's anything I notice that can help with.

Не можеш да нађеш филм или серију? Пријави се да додаш.

Глобално

s фокусирај траку за претрагу
p отворите мени профила
esc затворити отворени прозор
? отвори прозор пречице на тастатури

На страницама медија

b вратити се назад (или родитељу кад је то применљиво)
e иди на страницу за уређивање

На страницама ТВ сезона

(стрелица надесно) пређите на следећу сезону
(лева стрелица) иди на претходну сезону

На страницама ТВ епизода

(стрелица надесно) пређите на следећу епизоду
(лева стрелица) иди на претходну епизоду

На свим страницама са сликама

a отвори прозор за додавање слике

На свим страницама за уређивање

t отвори селектор превода
ctrl+ s пошаљи образац

На страницама за дискусију

n отвори нову дискусију
w мења статус гледања
p мења јавно/приватно
c мења отвори/затвори
a отвори активност
r одговор на дискусију
l иди на последњи одговор
ctrl+ enter пошаљи поруку
(стрелица надесно) следећа страница
(лева стрелица) претходна страница

Подешавања

Желите ли да оцените или додате ову ставку у листу?

Пријави се