Documentation ¶
Overview ¶
TCI Flogo twitter package is using github.com/ChimeraCoder/anaconda
Index ¶
- func BlockUser(...) (statusCode int, message string)
- func DirectMessage(...) (statusCode int, message string)
- func Follow(...) (statusCode int, message string)
- func NewActivity(metadata *activity.Metadata) activity.Activity
- func PostTweet(consumerKey, consumerSecret, accessToken, accessTokenSecret, tweet string) (statusCode int, message string)
- func PostTweetMedia(consumerKey, consumerSecret, accessToken, accessTokenSecret, tweet string, ...) (statusCode int, message string)
- func ReTweet(consumerKey, consumerSecret, accessToken, accessTokenSecret string, ...) (statusCode int, message string)
- func UnBlockUser(...) (statusCode int, message string)
- func UnFollow(...) (statusCode int, message string)
- type MyActivity
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BlockUser ¶
func BlockUser(consumerKey, consumerSecret, accessToken, accessTokenSecret, twitterHandle string) (statusCode int, message string)
function to Block a user on Twitter
func DirectMessage ¶
func DirectMessage(consumerKey, consumerSecret, accessToken, accessTokenSecret, directmsg, user string) (statusCode int, message string)
function to DirectMessage an user
func Follow ¶
func Follow(consumerKey, consumerSecret, accessToken, accessTokenSecret, twitterHandle string) (statusCode int, message string)
function to Follow a user on Twitter
func NewActivity ¶
NewActivity creates a new activity
func PostTweet ¶
func PostTweet(consumerKey, consumerSecret, accessToken, accessTokenSecret, tweet string) (statusCode int, message string)
function to Tweet with string messages
func PostTweetMedia ¶
func PostTweetMedia(consumerKey, consumerSecret, accessToken, accessTokenSecret, tweet string, mediaURL string) (statusCode int, message string)
function to Tweet with string messages
func ReTweet ¶
func ReTweet(consumerKey, consumerSecret, accessToken, accessTokenSecret string, tweetId int64) (statusCode int, message string)
function to retweet a particular tweet
func UnBlockUser ¶
func UnBlockUser(consumerKey, consumerSecret, accessToken, accessTokenSecret, twitterHandle string) (statusCode int, message string)
function to UnBlock a user on Twitter.
Types ¶
type MyActivity ¶
type MyActivity struct {
// contains filtered or unexported fields
}
MyActivity is a stub for your Activity implementation
func (*MyActivity) Eval ¶
func (a *MyActivity) Eval(context activity.Context) (done bool, err error)
Eval implements activity.Activity.Eval
func (*MyActivity) Metadata ¶
func (a *MyActivity) Metadata() *activity.Metadata
Metadata implements activity.Activity.Metadata
Click to show internal directories.
Click to hide internal directories.