twitter

package
v0.0.0-...-a74fbde Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2017 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAccessToken

func GetAccessToken(rt *oauth.Credentials, oauthVerifier string) (*oauth.Credentials, error)

GetAccessToken アクセストークンを取得する

func GetConnect

func GetConnect() *oauth.Client

GetConnect 接続を取得する

func GetMe

func GetMe(at *oauth.Credentials, user *Account) error

GetMe 自身を取得する

func PostTweet

func PostTweet(at *oauth.Credentials) error

PostTweet Tweetを投稿する

Types

type Account

type Account struct {
	ID              string `json:"id_str"`
	ScreenName      string `json:"screen_name"`
	ProfileImageURL string `json:"profile_image_url"`
	Email           string `json:"email"`
}

Account アカウント

Jump to

Keyboard shortcuts

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