我在使用新的Twitter API時遇到了問題:v1.0正常工作,但是如果我將URL更改爲v1.1,我總是得到一個錯誤「400錯誤的請求」 (看到Firebug)。Twitter v1.1:400不良請求
例子:
https://api.twitter.com/1/statuses/user_timeline.json?screen_name=twitterapi
這是工作就像一個魅力,一切工作爲例外。 只需將URL更改爲.../1.1/...
即可,並且我得到一個錯誤的請求錯誤,甚至是JSON錯誤響應甚至是一些內容。
https://api.twitter.com/1.1/statuses/user_timeline.json?screen_name=twitterapi
注意:它不可能是一個速率限制,因爲我曾經訪問的URL的第一次。
在任何瀏覽器中我使用(火狐,Chrome)我會被重定向。你使用什麼瀏覽器? '1'將在2013年3月5日關閉。它與'1.1'不一樣 - 請看這裏:https://dev.twitter.com/blog/current-status-api-v1。 1 – Poru
@Poru,看起來像一個Twitter的API錯誤。現在我也得到'400 Bad Request'。 –
@Poru,看看更新的答案 –