mirror of
https://github.com/nikdoof/foursquare-feeds.git
synced 2025-12-13 10:02:23 +00:00
Add link to Foursquare OAuth token tool in README
Thanks to @simonw for creating https://your-foursquare-oauth-token.glitch.me as mentioned in https://github.com/dogsheep/swarm-to-sqlite/issues/4
This commit is contained in:
15
README.md
15
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:
|
||||
|
||||
Reference in New Issue
Block a user