| Issue 8: | getPlurks() 參數說明錯誤 | |
| 1 person starred this issue and may be notified of changes. | Back to list |
這些問題出現在目前的 php-plurk-api 1.4 中: get_plurks() 的 $offset 參數說明是 timestamp, 這裡的 timestamp 不知是否指 UNIX timestamp? 根據 Plurk 的官方文件,這個參數必須使用 "年-月-日T時:分:秒" 的格式 我的測試結果亦是如此;其他表示法皆無法生效。 get_plurks() 的 $only_user 參數說明是 "使用者ID" (要返回誰的噗), 這個參數 Plurk 本身的網頁也沒說清楚用法及應傳入的值。 根據我的測試,無論傳入的值為何;除非那個值是 null, 否則都會變成 "只列出目前登入的使用者的噗",即使傳入 false 也是。 edit_plurk() 中的 urlencode() 依然存在,會造成這個問題: https://code.google.com/p/php-plurk-api/issues/detail?id=6&can=1 |
Owner: roga.lin