twitter

package
v0.0.0-...-fab4ab2 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthTwitter

func AuthTwitter(c echo.Context) error

AuthTwitter ツイッターの認証開始

func Callback

func Callback(c echo.Context) error

Callback ログイン後のコールバックから認証まで

func GetTimeline

func GetTimeline() (sr anaconda.SearchResponse)

func HasSessionData

func HasSessionData(c echo.Context) error

HasSessionData セッションデータあるかどうか確認

func PostTwitterAPI

func PostTwitterAPI(c echo.Context) error

PostTwitterAPI ツイッター投稿

func Timeline

func Timeline(c echo.Context) error

Timeline タイムライン取得

Types

type Account

type Account struct {
	AccessToken       string `json:"accessToken"`
	AccessTokenSecret string `json:"accessTokenSecret"`
	ConsumerKey       string `json:"consumerKey"`
	ConsumerSecret    string `json:"consumerSecret"`
}

Account �はTwitterの認証用の情報

Jump to

Keyboard shortcuts

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