command
Version:
v0.3.0
Opens a new window with list of versions in this module.
Published: Jun 21, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
This example shows how to use the oauth package with Twitter from a web application.
The examples require a configuration file containing a consumer key and secret:
- Register an application at https://dev.twitter.com/apps/new (Note: create a callback url for the app)
- $ cp config.json.example config.json.
- Edit config.json to include your Twitter consumer key and consumer secret from step 1.
To run the example:
- $ go run main.go
- Go to http://127.0.0.1:8080/ in a browser to try the application.
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.