2016-05-02 7 views
2

ich nicht herausfinden konnte, ob es möglich ist, zu Antworten eines Kommentars Thema antworten oder nicht ...Youtube Data API V3: Legen Sie eine Antwort auf einen Kommentar

Ich erhalte eine Fehlermeldung:

{ 
"error": { 
    "errors": [ 
    { 
    "domain": "youtube.comment", 
    "reason": "operationNotSupported", 
    "message": "Not all comments can be replied to. Check the comment threads canReply field.", 
    "locationType": "other", 
    "location": "body.snippet" 
    } 
    ], 
    "code": 400, 
    "message": "Not all comments can be replied to. Check the comment threads canReply field." 
} 
} 

Mein Wunsch war so:

POST https://www.googleapis.com/youtube/v3/comments?part=snippet&key= {YOUR_API_KEY}

{ 
"snippet": { 
    "parentId": "ID of the comment to reply to", 
    "textOriginal": "Hello World!" 
} 
} 

sonst könnte man ge t den Faden des Kommentars und senden Sie einen Kommentar beginnend mit + PersonToReplyTo ...

Antwort

0

Dies ist ein paar Jahre zu spät, aber für alle, die sich wundern, dachte der OP über dieses Problem falsch. Um auf eine Antwort zu antworten, geben Sie nicht die Kommentar-ID der Antwort an, auf die Sie antworten, Sie geben die Kommentar-ID des übergeordneten Kommentars an und antworten technisch darauf, aber da die Antworten chronologisch angezeigt werden, sieht es so aus, als ob Sie Beantworten der letzten Antwort, wenn Ihr Kommentartext so lautet.

Optional: Wenn Person A den ursprünglichen Kommentar gepostet hat und Person B die Antwort gepostet hat, auf die Sie antworten möchten, geben Sie die Kommentar-ID der Person A an und formatieren Sie dann Ihre Antwort wie "+ [Person Bs Vorname] [Ihre Antworttext] "wie OP am Ende ihres Beitrags erwähnt.

Verwandte Themen