GetToken
Performs a request to Foursquare for a user token, and returns the token, while also storing it
locally for use in private requests
public GetToken ( $code, $redirect = '' ) | ||
$code | The 'code' parameter provided by the Foursquare webauth callback redirect | |
$redirect | The configured redirect_uri for the provided client credentials |