Sign Up

Log In

Foursquare

FREE
By serg.osipchuk
Updated 6 months ago
Social
-/10
Popularity Score
-
Latency
-
Success Rate

Foursquare API Documentation

Get Foursquare data and enable user/merchant interactions.

View API Details

Supercharge your App

Discover and connect to thousands of APIs in the world's largest API Hub

POSTaddCommentToCheckin
POSTaddItemToList
POSTaddList
POSTaddPage
POSTaddPostToCheckin
POSTaddTip
POSTaddVenue
POSTchangeSingleSetting
POSTclaimVenue
POSTcreateCheckin
POSTdeleteItemFromList
POSTdislikeVenue
POSTfindUsers
POSTflagTip
POSTflagVenue
POSTfollowList
POSTgetAccessToken
POSTgetCheckin
POSTgetEventCategories
POSTgetListFollowers
POSTgetListItem
POSTgetListsTipAppears
POSTgetNextVenues
POSTgetNotificationUpdates
POSTgetPageAccessToken
POSTgetPageUpdates
POSTgetPageVenues
POSTgetPageVenuesTimeSeriesData
POSTgetPendingFriendRequests
POSTgetPhoto
POSTgetRecentFriendsCheckins
POSTgetRecommendedVenues
POSTgetSimilarVenues
POSTgetSingleEvent
POSTgetSingleList
POSTgetSinglePageUpdate
POSTgetSingleSetting
POSTgetSingleVenue
POSTgetSuggestedCompletion
POSTgetTip
POSTgetTrendingVenues
POSTgetUpdateDetails
POSTgetUser
POSTgetUserCheckins
POSTgetUserFriends
POSTgetUserLikedVenues
POSTgetUserLists
POSTgetUserManagedPages
POSTgetUserManagedVenues
POSTgetUserMayorships
POSTgetUserPhotos
POSTgetUserSettings
POSTgetUserVisitedVenues
POSTgetUsersSavedTip
POSTgetUsersWhoLikedCheckin
POSTgetUsersWhoLikedTip
POSTgetUsersWhoLikedVenue
POSTgetVenueCategories
POSTgetVenueEvents
POSTgetVenueGroups
POSTgetVenueHours
POSTgetVenueLinks
POSTgetVenueMenu
POSTgetVenuePeopleCount
POSTgetVenuePhotos
POSTgetVenueTips
POSTlikeCheckin
POSTlikePageUpdate
POSTlikeTip
POSTlikeVenue
POSTmarkNotificationsAsRead
POSTmoveItemOnList
POSTproposeVenueChange
POSTremoveCommentFromCheckin
POSTremoveTipFromToDoList
POSTresolvePublicCheckinFromUrl
POSTsearchEvents
POSTsearchSpecials
POSTsearchVenues
POSTshareList
POSTsuggestItemListPhotos
POSTsuggestListTips
POSTsuggestVenuesForList
POSTundoDislikeVenue
POSTunfollowList
POSTunlikeCheckin
POSTunlikeTip
POSTunlikeVenue
POSTupdateListItem
POSTupdateUserPhoto
POSTupdatesList
POSTaddCommentToCheckin

Comment on a checkin-in

Sign up to test this endpoint
Log in
Header Parameters
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
checkinIdSTRING
REQUIREDThe ID of the checkin to add a comment to.
accessTokenSTRING
REQUIREDAccess Token obtained from Foursquare OAuth.
Optional Parameters
mentionsSTRING
OPTIONALMentions in your check-in. This parameter is a semicolon-delimited list of mentions. A single mention is of the form `start,end,userid`, where start is the index of the first character in the shout representing the mention, end is the index of the first character in the shout after the mention, and userid is the userid of the user being mentioned. Character indices in shouts are 0-based.
textSTRING
OPTIONALThe text of the comment, up to 200 characters.
Request Snippet
unirest.post("https://Foursquareserg.osipchukV1.p.rapidapi.com/addCommentToCheckin")
.header("X-RapidAPI-Key", "undefined")
.header("Content-Type", "application/x-www-form-urlencoded")
.send("mentions=undefined")
.send("text=undefined")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response

loading...

Log inSign up

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.post("https://Foursquareserg.osipchukV1.p.rapidapi.com/addCommentToCheckin")
.header("X-RapidAPI-Key", "undefined")
.header("Content-Type", "application/x-www-form-urlencoded")
.send("mentions=undefined")
.send("text=undefined")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication
Sign up for freeto test this endpoint
Join the world’s largest API marketplace with over half a million developers and thousands of APIs.
DiscoverAPIs
Testfrom the browser
Connectusing code snippets
Managefrom one dashboard