Skip to content

Instantly share code, notes, and snippets.

@scarlac
Last active December 23, 2016 11:02
Show Gist options
  • Save scarlac/288fa3a92f4003126982a994699c6b7c to your computer and use it in GitHub Desktop.
Save scarlac/288fa3a92f4003126982a994699c6b7c to your computer and use it in GitHub Desktop.
FourSquare undocumented API

FourSquare is using API calls that are currently undocumented, yet seem quite interesting if you're integrating with it. Specifically, Documentation on oking a venue has been left out. Like, dislike and their undo counterparts are documented.

Here are the calls needed to rate a FourSquare venue:

Like Venue

Endpoint: https://developer.foursquare.com/docs/venues/like

Param Type Description
set boolean 1 to like 0 to undo a like

Dislike Venue

Endpoint: https://api.foursquare.com/v2/venues/VENUE_ID/dislike

Param Type Description
set boolean 1 to dislike 0 to undo a dislike

OK Venue (undocumented)

Endpoint: https://api.foursquare.com/v2/venues/VENUE_ID/ok?set=1

Param Type Description
set boolean 1 to ok 0 to undo an ok

Upvote/Downvote Tip (undocumented)

Endpoint: https://api.foursquare.com/v2/tips/TIP_ID/vote

Param Type Description
vote boolean true to upvote, false to downvote

Undo Upvote/Downvote Tip (undocumented)

Endpoint: https://api.foursquare.com/v2/tips/TIP_ID/removevote

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment