Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I get the foursquare venue ID from the new pretty url

Tags:

foursquare

The new venue urls are prettier but the ID isn't there and there is no mechanism to look up the ID from the pretty url.

For example, this particular url: https://foursquare.com/felice_83

How can I look up the venueID?

like image 618
leeroid Avatar asked Nov 29 '25 20:11

leeroid


2 Answers

In the righthand sidebar, there is a link to Claim the location. In the URL for that claim link, the "vid" parameter is the venue ID.

like image 160
pfhayes Avatar answered Dec 02 '25 17:12

pfhayes


When searching a Place on foursquare.com, or expanding a 4sq.com short link, the ID will be appended automatically to the pretty URL, e.g.

https://foursquare.com/v/sim-lim-square/4b058815f964a520aab022e3

Where 4b058815f964a520aab022e3 is the Venue ID. This will save you time on manual lookups compared to reverse engineering the vid query string param from the "Claim it now." links.

like image 21
vhs Avatar answered Dec 02 '25 15:12

vhs



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!