2010-11-18 33 views
1

twitter js api documentation在回覆調用中顯得非常清晰,但我無法使其正常工作。我的推文已經發布,但無論我嘗試什麼,in_reply_to_status_id都不會附加到狀態更新。有沒有人有他們可以分享的工作示例?發佈來自javascript api的Twitter in_reply_to_status_id

這裏是什麼似乎我是JS API文檔的正確翻譯:

T.Status.update('message', {in_reply_to_status_id: '123456789'}); //where in_reply_to_status_id is part of the options object 

或者

T.Status.reply('message', '123456789'); //where in_reply_to_status_id is the second param passed 
+0

你可以顯示你的代碼,所以我們可以看看它看看有什麼不對? – 2010-11-18 17:09:13

+0

當然。我經歷了至少20次迭代,但我會發布我認爲api文檔試圖解決的問題。 – madmanlear 2010-11-18 18:47:53

+0

'T.Status.update'返回什麼? – 2010-11-18 20:36:03

回答

0

只是胡亂猜測,因爲你掛AREN」 API文檔t很好的文檔的例子,但我懷疑in_reply_to_status_id必須是一個數字,而不是一個字符串。你可以試試嗎

T.Status.reply('message', 123456789); 
+0

不幸的是,這沒有什麼區別(我檢查過)。我在所有其他的Twitter調用中都使用字符串,並且他們處理的很好,特別是對他們的id結構進行了新的更改:http://dev.twitter.com/announcements – madmanlear 2010-11-18 20:58:25