תמיכת The Movie Database

Hi, I'm new :) I have a problem with auth redirection. Simple test (linux):

wget --server-response "http://api.themoviedb.org/3/authentication/token/new?api_key=[MY_API_KEY]"

I have the "Authentication-Callback" URL. I open it in the browser adding "redirect_to" parameter:

http://www.themoviedb.org/authenticate/[TOKEN_REQUEST]&redirect_to=MY_URL

Another test:

http://www.themoviedb.org/authenticate/[TOKEN_REQUEST]&redirect_to=http://www.google.com

But I get a 404 Page not found error ("Doesn't look like the page you're looking for can be found.") The same with other URLs (just for testing), the same if I use PHP urlencode()

What's wrong? Thank you in advance.

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

Jump to last post

Solved.

Just for reference, the callback must be in this form:

http://www.themoviedb.org/authenticate/[TOKEN_REQUEST]?redirect_to=http://www.google.com

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

עולמי

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

בדפי מדיה

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

בדפי עונות

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

בדפי סדרות

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

בכל דפי תמונה

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

בכל דפי עריכה

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

בדפי דיון

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

הגדרות

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

היכנס