I
I
Ilkhomjon Matazimov2021-03-22 14:27:19
YouTube
Ilkhomjon Matazimov, 2021-03-22 14:27:19

YouTube API how to leave a comment?

Good day to all.
Never worked with YouTube API.
Does anyone know how to post comments on videos?
I already have an idea how this is done, but I would like to write here first, suddenly someone already had experience.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Sokolov, 2021-03-22
@mr_qpdb

YouTube Data API v.3 method commentThreads: insert to create a new comment, or Comments: insert to create a response to someone's comment.
Permission required https://www.googleapis.com/auth/youtube.force-ssl
Prompt the user to authorize your app, grant that permission.
You make a request with a token from the server using a ready- made API client for the desired language.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question