Note that there are some explanatory texts on larger screens.

plurals
  1. POwhy is foursquare api not returning contact information for a venue?
    primarykey
    data
    text
    <p>One of our testers found this issue:</p> <p>This foursquare venue <a href="https://foursquare.com/v/whole-foods-market/4a38676cf964a520f49e1fe3" rel="nofollow">https://foursquare.com/v/whole-foods-market/4a38676cf964a520f49e1fe3</a></p> <p>When returned as a result of this url query <a href="https://api.foursquare.com/v2/venues/search?ll=32.747837,--17158101&amp;radius=250&amp;intent=checkin" rel="nofollow">https://api.foursquare.com/v2/venues/search?ll=32.747837,--17158101&amp;radius=250&amp;intent=checkin</a> [some more parameters including secret key]</p> <p>Produces a result JSON string which includes the venue, but the array of contact data is completely empty. The foursquare page for the venue lists the twitter contact and URL contact fields, but the JSON looks like this: {"id":"4a38676cf964a520f49e1fe3","name":"Whole Foods Market","contact":{},"location" [more data]</p> <p>Other venues returned by the search typically have the contact data. I noticed that this one venue does not have a phone number specified. Could the API be triggering off of that and null'ing out the entire contact list?</p> <p>UPDATE: Here is the complete URL request, with the exception of the ID and KEY values</p> <pre><code>https://api.foursquare.com/v2/venues/search?ll=32.747837,-117.158101&amp;radius=250&amp;intent=checkin&amp;limit=50&amp;v=20120502&amp;client_secret=XXX&amp;client_id=YYY&amp;categoryId=4bf58dd8d48988d1f9941735,4bf58dd8d48988d118951735,4d4b7105d754a06374d81259,4d4b7105d754a06376d81259 </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload