- Tram Ho
Titles are an indispensable part of videos uploaded to YouTube, so that video creators can distinguish what they have posted and also a way for users to find the content they need. And perhaps everyone knows, the title can be changed even when the video is posted, be it to correct spelling errors, or the poster feels that the old title does not match the content that I have posted. sign up.
But do you believe that this title may even change in real time, and instead it changes according to the number of views the video receives? Recently Youtuber on science and technology Tom Scott posted a video that can do this. Every time we click on the video or click reload the page, the title will be changed to the same (or approximate) with the number of views placed at the bottom. If you don’t believe it, you can verify it by clicking here .
What method did Scott use to make this possible? Could he have hacked YouTube? Or did you hire someone to ‘watch’ the number of views increase and press change the title accordingly?
Thankfully for us that in this video, he explained his ways. Accordingly, he created an automated bot capable of reading the number of views (called Y) and the number above the title (called X). When there is a difference between X and Y, the bot will press the Edit button to correct it.
How the API works for renaming titles by views
This is a very simple and straightforward explanation of the API (Application programming interface), an important component of websites, especially services such as Facebook, Twitter or Google Maps. In the early days of the Internet, the API was developed in an ‘open’ way, enabling anyone to create their own applications using the services and data of large companies without the need for their permission.
Over time, the API is more strictly controlled for two main reasons: Security and money. In terms of security, if the open API makes it possible for users to obtain a large amount of information from websites that have many users, this information can be exposed, for example, goods Facebook’s private data breach series. Secondly, APIs are more tightly controlled by vendors so that they can make a profit from their services, instead of allowing small developers to use them for free.
Invite readers to learn more through video:
Tom Scott explains how images change titles by number of views, as well as the Web API history
Source : Genk