Debian Codegraph @

examples/smugmug/README.markdown

raw
1 This example shows how to use the oauth package with SmugMug.
2
3 The examples require a configuration file containing a consumer key and secret:
4
5 1. Apply for an API key at http://www.smugmug.com/hack/apikeys
6 2. $ cp config.json.example config.json.
7 3. Edit config.json to include your Smugmug client key and secret from step 1.
8
9
10 To run the web example:
11
12 1. $ go run main.go
13 2. Go to http://127.0.0.1:8080/ in a browser to try the application.