command
Version:
v0.2.3
Opens a new window with list of versions in this module.
Published: Apr 23, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 8
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 command line 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 command line example with OOB authorization:
- $ go run main.go
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.