Is it bad to put your imgur client id in javascript?

767 views Asked by At

I'm working on an application that uses imgur as hosting service and I'll be uploading images to imgur using javascript. But that means I have to put the client id in my code so everyone will be able to see my client id when they look at the source. Is this bad and if so what can I do as a workaround?

Thanks!

1

There are 1 answers

2
Thijs Dalhuijsen On BEST ANSWER

It's only bad if you don't want other people use your client id.

You can use node.js to use the same javascript you are using now, but on the server side.

That way you don't have to learn a new language, but get all the benefits from keeping it on the server.

Good luck,

bovako