Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

202
Vistas
Foursquare API Not returning photos on the Venue Search

So I'm playing around with the Venues just trying to get it to show some stuff before I both getting specific with my queries. I'm using nodejs and this module.

https://www.npmjs.com/package/foursquarevenues

If that matters. Anyways when I put a call to the api to getVenues with a simple call like:

var params = {
        venuePhotos : '1',
        near : "Rome, Italy"
};

Everything works fine with the exception that no photos are returned. A standard venue object from this call will look like this:

    id: '523b15ce11d2d66df7dca8d0',
    name: 'Qlub Radio, Roma',
    contact: {},
    location: 
     { lat: 41.891096,
       lng: 12.5106,
       labeledLatLngs: [Object],
       cc: 'IT',
       country: 'Italia',
       formattedAddress: [Object] },
    categories: [ [Object] ],
    verified: false,
    stats: { checkinsCount: 3, usersCount: 2, tipCount: 0 },
    venueRatingBlacklisted: true,
    beenHere: { lastCheckinExpiredAt: 0 },
    specials: { count: 0, items: [] },
    referralId: 'v-1493396577',
    venueChains: [],
    hasPerk: false }

Which as far as I can tell returns no photo url for the venue which is contrary to what the documentation suggests. I've been putting in a bunch of different parameters as suggested in other threads and it hasn't changed anything. Am I missing something here?

Thanks.

over 4 years ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

After looking at the node.js module you're using the getVenues call is hitting the Foursquare venue/search endpoint which doesn't return photos with the search results. Calling exploreVenues in that module will hit the venues/explore endpoint which can return photos by including the venuePhotos=1 parameter (as you've done).

Also, if you only details for a specific venue you can use getVenue and if you only need the photos you can use getVenueAspect.

Hope this helps.

over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda