setStateFromString($_GET["state"]); } // user authorized application, exchange code for pin if (isset($_GET["code"])) { try { $pin = $model->exchangeCodeForPin($_GET["code"]); } catch(Exception $e) { $error = true; $authorize_uri = $model->getAuthorizeUri(); } if (false !== ($redirect_uri = $model->getPostAuthRedirectUri(array("pin" => $pin)))) { header("Location: $redirect_uri"); exit; } } // user has not yet authorized application, show authorize link else { $error = isset($_GET["error_reason"]); $authorize_uri = $model->getAuthorizeUri(); } $t_title = "Access Foursquare via SMS"; include "header.php"; ?>
How does it work?
To use foursquare with text messaging, just compose a new text message to the phone number
DOTCOM (368266), and send the word foursquare in the body of the message.
How does foursquare know my location?
Your location is based on your last check in. If you're checking in from a city
that's different from your last check in, you can change your location by replying 3 from the main menu.
Will I be charged for texting?
You can use foursquare by text messaging for free, but standard message and data rates apply.
Many people these days have unlimited texting plans, but you should check with your cellular carrier if you aren't sure.
How do I reply to a menu?
You can simply reply with the numbers next to the menu items that appear in parentheses.
For example, to look at recent check-ins by your friends just reply 1 from the main menu.
Does this work outside the US? DOTGO is in the process of expanding internationally. Please check the country selector drop down at the top of the page for a full list of countries where the service is available.
Are there any navigation shortcuts?
Yes. Any of these commands can be texted to DOTCOM (368266):
If you forget the shortcuts, you can always find them by texting foursquare to DOTCOM (368266) and then replying 6 for help.