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
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
Which one is the easiest.
API or Proxy?
eh more or less the same
Coding Garden
YouTube
Hide API Keys with a Node.js API Proxy + Caching, Rate Limiting and...
This is an excerpt from a stream that was broadcasted live on twitch: https://www.twitch.tv/codinggarden/
View the full live stream here: https://youtu.be/uMfCYQfHtzo
View the code here: https://github.com/CodingGarden/mars-weather-api
💪 View all past episodes here: https://www.youtube.com/playlist?list=PLM_i0obccy3sZGzZdpEtxPcR1iPIV0taQ
🔎 S...
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