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 回复(第 1 页,共 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.

找不到电影或节目?登录并创建它吧。

全站通用

s 聚焦到搜索栏
p 打开个人资料菜单
esc 关闭打开的窗口
? 打开键盘快捷键窗口

在媒体页面

b 返回(或返回上级)
e 进入编辑页面

在电视季页面

(右箭头)下一季
(左箭头)前一季

在电视集页面

(右箭头)下一集
(左箭头)上一集

在所有图像页面

a 打开添加图片窗口

在所有编辑页面

t 打开翻译选择器
ctrl+ s 提交

在讨论页面

n 创建新讨论
w 切换关注状态
p 设为公开 / 私密讨论
c 关闭 / 开放讨论
a 打开活动页
r 回复讨论
l 跳转至最新回复
ctrl+ enter 发送信息
(右箭头)下一页
(左箭头)前一页

设置

想给这个条目评分或将其添加到片单中?

登录

还不是会员?

注册加入社区