操作
Backport(バックポート) #1726
完了RPC API can't response friends data.
開始日:
2010-10-19
期日:
進捗率:
100%
予定工数:
説明
Overview¶
RPC API can't fetch friends data.
Example:
POST http://op3.happyturn/api.php/social/rpc?st=XXXXX
RequestBody:
[{"method":"people.get","id":"people.get","params":{"userId":"@owner","groupId":"@self"}}]
Response:
[{"id":"people.get","data":{"id":"1","isOwner":true,"isViewer":true,"hasApp":true,"displayName":"hogehoge","thumbnailUrl":"","profileUrl":"http:\/\/op3.happyturn\/\/member\/profile\/id\/1","gender":"male"}}]
POST http://op3.happyturn/api.php/social/rpc?st=XXXXX
RequestBody:
[{"method":"people.get","id":"people.get","params":{"userId":"@owner","groupId":"@friends"}}]
ResponseBody:
[{"id":"people.get","data":{"id":"1","isOwner":true,"isViewer":true,"hasApp":true,"displayName":"hogehoge","thumbnailUrl":"","profileUrl":"http:\/\/op3.happyturn\/\/member\/profile\/id\/1","gender":"male"}}]
Causes¶
https://issues.apache.org/jira/browse/SHINDIG-1265
Way to fix.¶
- I patch about https://issues.apache.org/jira/browse/SHINDIG-1265 before 1.2.x
- I update Shindig at 1.3.0-dev
操作