How To Automatically Display Views (22439) & Likes (1636) In Video Title!
In this video I will show you how to automatically update your youtube video title to display the amount of views and likes it has!
If you liked this video, please be sure to hit the like button and let me know in the comments why you liked it! If you really love my content, please consider subscribing!
**********************************
Original concept by Tom Scott: https://www.youtube.com/watch?v=BxV14h0kFs0
You can also display the amount of dislikes and comments using this code by following the tutorial!
Copy this code:
function updateTitle() {
var videoID = '87MMAT2Kd0U'; //https://youtu.be/87MMAT2Kd0U
var part = 'snippet,statistics';
var params = {'id': videoID};
var response = YouTube.Videos.list(part, params);
var video = response.items[0];
var videoViewsCount = video.statistics.viewCount;
var videoLikeCount = video.statistics.likeCount;
var videoDislikeCount = video.statistics.dislikeCount;
var videoCommentCount = video.statistics.commentCount;
var videoTitle = 'OMG This video has ' + videoViewsCount + ' views and ' + videoLikeCount + ' likes and ' + videoDislikeCount + ' dislikes and ' + videoCommentCount + ' comments!!!';
video.snippet.title = videoTitle;
try{
YouTube.Videos.update(video, part);
}catch(e){
}
}
Become a member: https://www.youtube.com/channel/UCzkqOdzxj4wY7BmWdXWueoA/join
Subscribe to my channel: http://www.youtube.com/channel/UCzkqOdzxj4wY7BmWdXWueoA?sub_confirmation=1
***********************************
Youtube: https://www.youtube.com/c/MariohierioMariodario
Twitter: https://twitter.com/Mario_Hierio
Instagram: https://www.instagram.com/maxmakesmusic_insta/
***********************************
#youtubescript #viewsintitle #youtube