Comment - antoineraulin/deezer-api GitHub Wiki

A comment object

INFO ACTIONS

INFO

Retrieve information from a comment

deezer.get("comment",{id: "4179157801"}) //will retrieve information from comment #4179157801

Result :

Name Description Type
id The comment's Deezer id int
text The content of the comment string
date The date the comment was posted timestamp
object Object the comment belongs to, containing: id, type. Type can be "artist", "album" or "playlist" object
author user object containing : id, name, link, picture, picture_small, picture_medium, picture_big, picture_xl object

ACTIONS

Usage Description Required params
deezer.delete("comment",{id:"4179157801"}); Remove a comment

Related actions

album / comments
Usage Description Required params
deezer.post("album",{method:"comments",id:"album_id",comment:"your comment"}); Add a comment to the album comment
The content of the comment
string
id
The album id
int
artist / comments
Usage Description Required params
deezer.post("artist",{method:"comments",id:"artist_id",comment:"your comment"}); Add a comment to the artist comment
The content of the comment
string
id
The artist id
int
playlist / comments
Usage Description Required params
deezer.post("playlist",{method:"comments",id:"playlist_id",comment:"your comment"}); Add a comment to the playlist comment
The content of the comment
string
id
The playlist id
int
⚠️ **GitHub.com Fallback** ⚠️