diff --git a/README.md b/README.md index a823570..57f36a8 100644 --- a/README.md +++ b/README.md @@ -39,6 +39,20 @@ To get the `AccessToken` for your Foursquare app, you will have to go through th ### 4. Get an access token +There are two ways to do this: (A) The quick way, using a third-party website or (B) the slow way, on the command line. Use (A) unless the website isn't working. + +#### (A) The quick way + +Go to https://your-foursquare-oauth-token.glitch.me and follow the link to log +in with Foursquare. + +Accept the permissions, and then copy the long code, which is your Access +Token, into your `config.ini`. + +That's it. [Thanks to Simon Willison for that.](https://github.com/dogsheep/swarm-to-sqlite/issues/4) + +#### (B) The slow way + On https://foursquare.com/developers/apps, in your app, set the Redirect URI to `http://localhost:8000/` In a terminal window, open a python shell: @@ -76,6 +90,7 @@ This will output another long code, which is your Access Token. Enter this in your `config.ini`. + ## Run the script You're ready to go: