Soporte de The Movie Database

hi there, i 'm beginner work with tMDB , and I want to use API validate with login, I followed 3 steps of authentication ( create request token , user approval , and create session id ) I want to use API validate with login to create session , step 1 is ok , step 2 is ok , however in step 3 , i received a message error:

Invalid username and/or password: You did not provide a valid login.

in my body i have config

{
  "username": "vanduclipi",
  "password": "123456789",
  "request_token": "231c98b33ab51f9f9845917dd8db6b7c94041f09" // my request token add that time
}

would you like tell me how can i resolve this case ?

4 respuestas (en la página 1 de 1)

Jump to last post

Hey @vanduclipi,

Take a look at two of my scripts in this area here:

All of the code is just HTML/JS so you can inspect how the queries and responses are built by inspecting the page source.

thank you very much, i understood my problem

body:JSON.stringify({
              username: username, // Replace with the actual username
              password: password, // Replace with the actual password
              request_token: tok // Replace with the actual request token
            }),

I m giving same. But i can't understand can you just tell me the briefly or share the github url of the code so that i review it . I got the same error username and password. Please thanks

Hi @rashidmahar73,

Nothing has changed with the code samples I posted above. Feel free to inspect the code and see what's going on. It's 100% client side JS.

¿No encuentras una película o serie? Inicia sesión para crearla:

Global

s centrar la barra de búsqueda
p abrir menú de perfil
esc cierra una ventana abierta
? abrir la ventana de atajos del teclado

En las páginas multimedia

b retrocede (o a padre cuando sea aplicable)
e ir a la página de edición

En las páginas de temporada de televisión

(flecha derecha) ir a la temporada siguiente
(flecha izquierda) ir a la temporada anterior

En las páginas de episodio de televisión

(flecha derecha) ir al episodio siguiente
(flecha izquierda) ir al episodio anterior

En todas las páginas de imágenes

a abrir la ventana de añadir imagen

En todas las páginas de edición

t abrir la sección de traducción
ctrl+ s enviar formulario

En las páginas de debate

n crear nuevo debate
w cambiar el estado de visualización
p cambiar público/privado
c cambiar cerrar/abrir
a abrir actividad
r responder al debate
l ir a la última respuesta
ctrl+ enter enviar tu mensaje
(flecha derecha) página siguiente
(flecha izquierda) página anterior

Configuraciones

¿Quieres puntuar o añadir este elemento a una lista?

Iniciar sesión