Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
FourSquare SDK for .NET
branch: master

Merge pull request #19 from sestek/master

SearchVenues bug fixed.
latest commit 8212b65069
@TICLAB authored


FourSquare SDK for .NET

The SharpSquare .NET library provides a quick access to the FourSquare API v2. The library is built in C# and can therefore be used by all languages the .NET environment supports.

Beacuse of clean natural object oriented approach, the library is easy to use. SharpSquare implements almost all the features offered by the FourSquare API and fully supports the oAuth protocol.

Each API call is mapped to a one-to-one method and each FourSquare entity is mapped to a class.

Code examples

using FourSquare.SharpSquare.Core;
using FourSquare.SharpSquare.Entities;

string clientId = "CLIENT_ID";
string clientSecret = "CLIEND_SECRET";
string redirectUri = "REDIRECT_URI";
SharpSquare sharpSquare = new SharpSquare(clientId, clientSecret);


if (Request["code"] != null)
    sharpSquare.GetAccessToken(redirectUri, Request["code"]);
    // Here, you can do something
    HyperLink.NavigateUrl = sharpSquare.GetAuthenticateUrl(redirectUri);

Create a check-in

Dictionary<string, string> parameters = new Dictionary<string, string>();
parameters.Add("venueId", "VENUE_ID");
parameters.Add("broadcast", "public");
Checkin checkin = sharpSquare.AddCheckin(parameters);



Something went wrong with that request. Please try again.