תמיכת The Movie Database

Dear, Could you please help me? Let say, i want Get Favorite Movies, i need call GET /account/{account_id}/movie/favorites But i don't know how can i get my account ID? Thanks,

11 תגובות (בדף 1 מתוך 1)

Jump to last post

@tuoitrexuquang said:
How can i get account id?
Dear,
Could you please help me?
Let say, i want Get Favorite Movies, i need call GET /account/{account_id}/movie/favorites
But i don't know how can i get my account ID?
Thanks,

I don't use v4. So it can be different.
But I believe the ID must be your username.
In my case:
https://www.themoviedb.org/u/ticao2/favorites

Hi @ticao2 I am trying to fetch the data following this document: https://developers.themoviedb.org/4/account/get-account-lists but i don't know how to get account id?

@ticao2 that's the HTTP endpoint, not the API endpoint. The account ID requires and integer not a string, so it wouldn't be your user ID. I'm still trying to find out the answer. Anyone?

@djmtype said:

@ticao2 that's the HTTP endpoint, not the API endpoint. The account ID requires and integer not a string, so it wouldn't be your user ID. I'm still trying to find out the answer. Anyone?

Am also find Solution For that

this is a test

for god's sake somebody tell me what is an account id and where can I find it?

I have tried my username but is not the account ID. Please help

@vivek_stark said:

I have tried my username but is not the account ID. Please help

in get details you can get your id account https://developers.themoviedb.org/3/account/get-account-details

This is poorly documented, but there seem to be a v3 id and a v4 id. The v3 id is retrieved from the endpoint https://api.themoviedb.org/3/account (which can be authenticated with just an Authorization header with your bearer token), under "id", and it can only be used on v3 endpoints. For v4 endpoints, the only way I could find so far to get the id is to go through the auth process - generate a request token via the API, validate the request token by going to https://www.themoviedb.org/auth/access?request_token={request_token}, and then generating an access token via the API. On the API response which gives the access token, it also gives the v4 id as well.

Seems unnecessarily complicated in my opinion, I wish that a simple call to /account with the proper Bearer token would include the v4 id.

I just discovered that at least using v3, you could pass your session_id as a query param instead of accout_id...

https://api.themoviedb.org/3/account?api_key=[YOUR_KEY]&session_id=[YOUR_SESSION_ID]

.לא מצאת סרט או סדרה? היכנס כדי ליצור אותם

עולמי

s התמקד בשורת החיפוש
p פתח תפריט פרופיל
esc סגור חלון פתוח
? פתח חלון קיצורי דרך של מקלדת

בדפי מדיה

b לך חזרה (או אל הורה אם ישים)
e לך אל דף עריכה

בדפי עונות

(חץ ימני) לך אל העונה הבאה
(חץ שמאלי) לך אל העונה הקודמת

בדפי סדרות

(חץ ימני) לך אל הפרק הבא
(חץ שמאלי) לך אל הפרק הקודם

בכל דפי תמונה

a פתח חלון הוספת תמונה

בכל דפי עריכה

t פתח בוחר תרגום
ctrl+ s הגש טופס

בדפי דיון

n צור דיון חדש
w עורר מעמד צפייה
p עורר ציבורי/פרטי
c עורר סגירה/פתיחה
a פתח פעילות
r השב אל דיון
l לך אל תשובה אחרונה
ctrl+ enter הגש את הודעתך
(חץ ימני) הדף הבא
(חץ שמאלי) הדף הקודם

הגדרות

?רוצה לדרג או להוסיף פריט אל רשימה

היכנס