Programming world: A website with a youtube subscriber counter

Project URL: https://programming-world.glitch.me

A website that has a subscriber counter and my channel in it.
Enjoy!

3 Likes

You do realise that not only are you self promoting but your api key is just in your code for everyone to grab?

2 Likes

hi, the gallery is for people to share their creations that they made on glitch. about the API key… if that is important info then it should be kept in the .env folder. ill edit this if I find out.

edit: i found this that does say that it is very secret, even though it is 7 years ago, ill base my answer off that. (javascript - YouTube API Key Security - How worried should I be? - Stack Overflow)

2 Likes

In general, api keys should be placed in .env or any other secure place

4 Likes

You can, for example, upload a video:

1 Like