Documentation ¶
Index ¶
- func CreateURLValues(cnt string) url.Values
- type TwitterAPI
- func (tw *TwitterAPI) Auth() (string, string)
- func (tw *TwitterAPI) Block(screenname string) error
- func (tw *TwitterAPI) DeleteTweet(tweetID string) error
- func (tw *TwitterAPI) Favorite(tweetID string) error
- func (tw *TwitterAPI) Follow(screenname string) error
- func (tw *TwitterAPI) GetFriendships(u *anaconda.User) (string, error)
- func (tw *TwitterAPI) GetListTimeline(listID int64, count string) (*[]anaconda.Tweet, error)
- func (tw *TwitterAPI) GetSearchResult(query, count string) (*[]anaconda.Tweet, error)
- func (tw *TwitterAPI) GetTimeline(mode string, v url.Values) (*[]anaconda.Tweet, error)
- func (tw *TwitterAPI) Init(token, secret string) error
- func (tw *TwitterAPI) Mute(screenname string) error
- func (tw *TwitterAPI) PostTweet(status, replyToID string, files []string) error
- func (tw *TwitterAPI) Retweet(tweetID string) error
- func (tw *TwitterAPI) UnRetweet(tweetID string) error
- func (tw *TwitterAPI) Unblock(screenname string) error
- func (tw *TwitterAPI) Unfavorite(tweetID string) error
- func (tw *TwitterAPI) Unfollow(screenname string) error
- func (tw *TwitterAPI) Unmute(screenname string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TwitterAPI ¶
type TwitterAPI struct { API *anaconda.TwitterApi OwnUser *anaconda.User ListNames []string ListIDs []int64 }
TwitterAPI API構造体
func (*TwitterAPI) DeleteTweet ¶
func (tw *TwitterAPI) DeleteTweet(tweetID string) error
DeleteTweet ツイートを削除
func (*TwitterAPI) GetFriendships ¶
func (tw *TwitterAPI) GetFriendships(u *anaconda.User) (string, error)
GetFriendships ユーザーとの関係を取得
func (*TwitterAPI) GetListTimeline ¶
GetListTimeline リストタイムラインを取得
func (*TwitterAPI) GetSearchResult ¶
func (tw *TwitterAPI) GetSearchResult(query, count string) (*[]anaconda.Tweet, error)
GetSearchResult 検索結果を取得
func (*TwitterAPI) GetTimeline ¶
GetTimeline タイムラインを取得
func (*TwitterAPI) PostTweet ¶
func (tw *TwitterAPI) PostTweet(status, replyToID string, files []string) error
PostTweet ツイートを投稿
func (*TwitterAPI) UnRetweet ¶
func (tw *TwitterAPI) UnRetweet(tweetID string) error
UnRetweet リツイートを取り消す
func (*TwitterAPI) Unblock ¶
func (tw *TwitterAPI) Unblock(screenname string) error
Unblock ブロックを解除する
func (*TwitterAPI) Unfavorite ¶
func (tw *TwitterAPI) Unfavorite(tweetID string) error
Unfavorite いいねを取り消す
func (*TwitterAPI) Unfollow ¶
func (tw *TwitterAPI) Unfollow(screenname string) error
Unfollow フォローを解除する
Click to show internal directories.
Click to hide internal directories.