whizzzkid / instagram-proxy-api

CORS compliant API to access Instagram's public data
https://nishantarora.in/building-your-image-gallery-using-public-instagram-API.naml
261 stars 48 forks source link

Referrer and localhost #13

Closed drunkenclam closed 7 years ago

drunkenclam commented 7 years ago

Hi,

first, thanks for creating this great service!

Since the update yesterday, that requires a referrer, I'm no longer able to use it from localhost (sends no referrer). Any chance to change this?

whizzzkid commented 7 years ago

If you're running the proxy on localhost then simply run the dev instance:

$ npm run dev

The proxy should be live on 127.0.0.1:3000/... and would work with undefined referrer. Anyways the prod proxy should honor all requests from local web project. As a matter of fact I can see lot of queries from local projects as of now.

Hope this helps