開発API » コメント取得API
URI スキーム
http://api.twitcasting.tv/api/commentlist?param=value
指定されたユーザーに対するコメントを取得するAPI
必要な環境
JSON / JSONP
認証
不要
制約事項
制限あり。(最大1分間に60回。この制約を超えるとそのIPアドレスからは5分間アクセスできなくなります = HTTP 503 Error)
URIパラメータ
| 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の結果パラメータ
| 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 ユーザー情報API |
| moviestatus | refer to ムービー情報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.
ライブが開始されてからコメントが投稿されるまでの経過秒 |
サンプル





JASRAC 許諾番号:9012931001Y45123