|
|
|
|
|
by verst
3076 days ago
|
|
I love this. Thanks for adding the free image export option! A word of warning: Your Foursquare API client ID and Secret are completely visible to anyone and can easily be abused. [1] Also, currently the client ID is exceeding its rate limit, so I cannot add my own locations. [1] You are making these kinds of requests:
https://api.foursquare.com/v2/venues/suggestCompletion?query... |
|
Maybe proxy your Foursquare API requests via https://www.eliotand.me/airbnb-poster/search or a similar API endpoint you'd create. Disallow CORS on that new API endpoint. You can keep the API call signature but remove the client ID and secret.
On your backend you can then make those Foursquare API requests and add the client ID and secret to the request.