My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 8: getPlurks() 參數說明錯誤
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  roga.lin
Closed:  Jan 2010


 
Reported by hit1205...@gmail.com, Jan 19, 2010
這些問題出現在目前的 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
Jan 19, 2010
Project Member #1 roga.lin
已經修正,謝謝您,請重新 checkout 程式碼或是下載 .zip package。
Status: Fixed
Owner: roga.lin

Powered by Google Project Hosting