Developer API » Comment List API
URI Scheme
http://api.twitcasting.tv/api/commentlist?param=value
An API to retrieve comment list for a specified user.
Requirements
JSON / JSONP
Authentication
None
Limitation
Throttle Limit. (Max 60 req/1 min. If you exceed this limit, your IP will be blocked for 5 min = HTTP 503 Error).
URI Parameters
| type (optional) |
Set this value to json if you would like to receive JSON result. Otherwise, this API will return JSONP.
JSONで結果を受け取る場合、この値を json に設定します。デフォルトではJSONPとなります。 |
|---|---|
| user |
user id to get comments.
コメントを取得する対象のUserId |
| movieid (optional) |
movie id to get comments.
コメントを取得する対象のMovieId |
| from (optional) |
index of comments from which to retreive. Default is 0(latest).
コメントを取得する場所の指定。デフォルトは0(最新)です。 |
| count (optional) |
number of comments to retreive. Default is 10. Note that this will not guarantee to retrive the specified number of comments at least due to the block word/user filtering.
取得するコメントの数。デフォルトは10件です。なお、NGワードの設定などにより、必ず10件のコメントが取得できるわけではありません。 |
| since (optional) |
comment id to specify from which to start retreiving comments. Strongly recommended to specify this value whenever last comment id is available.
この値を指定すると、指定されたCommentId以降に更新されたコメントのみ取得します。パフォーマンスのために出来る限りこのオプションを指定してください。 |
Json Results
| commentid | comment id. |
|---|---|
| movieid | movie id |
| userid |
user id of the comment owner.
コメント投稿者のUserID |
| socialid |
unique social id of the comment owner.
コメント投稿者のsocialID |
| message |
comment text.
コメント本文 |
| userstatus | refer to User Info API |
| moviestatus | refer to Movie Info API |
| created |
unix time stamp of the comment
Unix時間によるコメント投稿時間 |
| thumbnail |
a url of the comment capture image if available.
キャプチャ画像のURL(キャプチャ画像がある場合のみ) |
| latitude |
latitude if set.
緯度情報(ある場合のみ) |
| longuitude |
longuitude if set.
経度情報(ある場合のみ) |
| statusid |
twitter's comment id if comment was posted to twitter successfully.
Twitterにも投稿した場合のtwitter上でのstatusid |
| duration |
seconds since movie has started.
ライブが開始されてからコメントが投稿されるまでの経過秒 |
Sample
