2016-01-28 25 views
1

我訪問Instagram的API來顯示從特定帳戶的內容,但是我得到這個錯誤:ERROR_TYPE 「:」 OAuthAccessTokenException」, 「代碼」:400。(Instagram的)

/**/ JSON_CALLBACK({"meta":{"error_type":"OAuthAccessTokenException","code":400,"error_message":"The access_token provided is invalid."}}) 

我有註冊我的應用程序在https://www.instagram.com/developer/

位訪問這裏例如,當我得到上述錯誤:

var endpoint = "https://api.instagram.com/v1/users/" + user_id + "/media/recent/?"; 
    endpoint += "?count=99"; 
    endpoint += "&client_id=" + client_id; 
    endpoint += "&callback=JSON_CALLBACK"; 

回答