TMDB podrška

Additional Note: underscore is not appearing in this post when I copy paste from Visual Studio

Hi,

Not tried this method before , reviewed the documentation but getting 401 Unauthorized

I hard code the api key, username and password for testing, and I can login to the website with the same credentials.

Am I doing something wrong here?

Im getting a request token as expected

var client = new WebClient();

string response = client.DownloadString("http://api.themoviedb.org/3/authentication/token/new?api_key=###");

TMDB_Authentication authentication =  JsonConvert.DeserializeObject<TMDB_Authentication>(response);

Attempting to login here

string response2 = client.DownloadString("https://api.themoviedb.org/3/authentication/token/validate_with_login?" + "apikey=###&request_token="  + authentication.request_token +  "&username=deery5000&password=password");

TMDB_Authentication authentication2 = JsonConvert.DeserializeObject<TMDB_Authentication>(response2);

2 odgovora (na stranici 1 od 1)

Jump to last post

Hi Kevin,

I'm not sure, I just followed the steps and successfully generated a new session ID with the validate_with_login method.

What's the actual body being returned?

I'm getting {"status_code":30,"status_message":"Invalid username and/or password: You did not provide a valid login."}

with this url:

https://api.themoviedb.org/3/authentication/token/validate_with_login?api_key=###&request_token=###&username=mataharimau&password=####

The username and password log me into the web site, but this url doesn't work? neither in the app, nor when I paste it into a browser.

If I use the request_token in https://www.themoviedb.org/authenticate/{REQUEST_TOKEN}, I get the approval page.

Ne možete pronaći film ili TV seriju? prijavite se da biste ga napravili.

Global

s focus the search bar
p otvorite izbornik profila
esc zatvori otvoreni prozor
? open keyboard shortcut window

On media pages

b go back (or to parent when applicable)
e go to edit page

On TV season pages

(desna strelica) idi na sljedeću sezonu
(left arrow) go to previous season

On TV episode pages

(desna strelica) idi na sljedeću epizodu
(left arrow) go to previous episode

On all image pages

a open add image window

On all edit pages

t open translation selector
ctrl+ s submit form

On discussion pages

n create new discussion
w toggle watching status
p toggle public/private
c toggle close/open
a otvori aktivnost
r reply to discussion
l go to last reply
ctrl+ enter submit your message
(desna strelica) sljedeća stranica
(left arrow) previous page

Postavke

Want to rate or add this item to a list?

Prijavi se