Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/abranhe/tweet
The easiest way to send a tweet in Go
https://github.com/abranhe/tweet
go twitter
Last synced: 28 days ago
JSON representation
The easiest way to send a tweet in Go
- Host: GitHub
- URL: https://github.com/abranhe/tweet
- Owner: abranhe
- License: mit
- Created: 2018-09-15T20:09:05.000Z (about 6 years ago)
- Default Branch: main
- Last Pushed: 2021-10-12T03:14:01.000Z (about 3 years ago)
- Last Synced: 2024-05-21T00:39:45.602Z (6 months ago)
- Topics: go, twitter
- Language: Go
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# tweet
The easiest way to send a tweet in Go
[![lint](https://github.com/abranhe/tweet/actions/workflows/lint.yml/badge.svg)](https://github.com/abranhe/tweet/actions/workflows/lint.yml)
[![Go Report Card](https://goreportcard.com/badge/github.com/abranhe/tweet)](https://goreportcard.com/report/github.com/abranhe/tweet)
[![CodeQL](https://github.com/abranhe/tweet/actions/workflows/codeql.yml/badge.svg)](https://github.com/abranhe/tweet/actions/workflows/codeql.yml)
[![Go Reference](https://pkg.go.dev/badge/github.com/abranhe/tweet.svg)](https://pkg.go.dev/github.com/abranhe/tweet)## Install
```console
$ go get github.com/abranhe/tweet
```## Usage
```go
import "github.com/abranhe/tweet"func main() {
credentials := tweet.TwitterCredentials{
Token: "",
ct0: "",
Auth: "",
}tweet.Tweet("Hello, world!", credentials)
}
```