kulkarniankita/discover-coffee-stores

Foursquare API response no longer includes "neighborhood" field with other important issues

Anmol-Baranwal opened this issue · 0 comments

  1. The API value has changed. You can check here to see that Foursquare no longer provides neighborhood as a response. Locality or cross_street could be used in place of that.

  1. The Airtable API key will be deprecated in January 2024, and they recommend using a personal access token instead. However, after configuring it, the following code:
export const fetcher = (url) => fetch(url).then((res) => res.json());

shows an error when used for useSWR (500 internal error) . I am still working on fixing this and will contact the team, as discussed in the airtable-js repository.


  1. The image changes on refresh when you visit this page. This is definitely a bug, and it occurs in most coffee store components, including pre-rendered and dynamic ones.

I hope this helps in improving the project.

I learned Next.js from this public repository. Thank you for making it available.