How to hide access token without API proxy server

I'm trying to display images of Instagram on HTML page and deploy on a hosting website. I only know HTML, CSS and a bit of JS. I tried using the API proxy server by following youtube tutorial, but I'm getting a lot of errors. is there any way I can avoid that?
5 Replies
ErickO
ErickO2y ago
that API key is either in the front end or it isn't, you can't hide it on the Front-end that's just not possible, obfuscate it perhaps but anyone half decent would be able to get it anyway so you either need your own API or a proxy
Abdul Ahad⚡
Abdul Ahad⚡OP2y ago
Which one is the easiest. API or Proxy?
ErickO
ErickO2y ago
eh more or less the same
ErickO
ErickO2y ago
it's really just a uh...semantics, proxy would be something that all is doing is forwarding requests an API has more uses than that but same technology being used

Did you find this page helpful?