DEV Community

Discussion on: How to use the YouTube API to create a self-updating video title based on views

Collapse
 
akshayranagujjar profile image
Akshay-Rana-Gujjar

I tried this but this also updating the description of the video. I just want to update title only.

Collapse
 
fillerink profile image
Sreeram Venkitesh • Edited

You can pass only a new title to the youtube.videos.update function. If you cloned my GitHub repo, the code there has been used to update the title and the description. Replace the youtube.videos.update part with the snippet given in this article.

Some comments have been hidden by the post's author - find out more