twitter

command
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 21, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

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:

  1. Register an application at https://dev.twitter.com/apps/new (Note: create a callback url for the app)
  2. $ cp config.json.example config.json.
  3. Edit config.json to include your Twitter consumer key and consumer secret from step 1.

To run the example:

  1. $ go run main.go
  2. Go to http://127.0.0.1:8080/ in a browser to try the application.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL