The mute feature can be accessed through a contextual menu available both on the web and iOS muted users will be indicated by a red mute icon on their profile page, and they can be “unmuted” at any time. The muted user will not know that you’ve muted them, and of course you can unmute at any time. The muted user will still be able to fave, reply to, and retweet your Tweets you just won’t see any of that activity in your timeline. Muting a user on Twitter means their Tweets and Retweets will no longer be visible in your home timeline, and you will no longer receive push or SMS notifications from that user. In the same way you can turn on device notifications so you never miss a Tweet from your favorite users, you can now mute users you’d like to hear from less. The feature, rolling out to Twitter for iPhone, Android, and web, will also be available to third-party Twitter developers through the service’s API. # Just uncomment any of them to get that config option.Following screenshots first surfaced two weeks ago, Twitter officially started rolling out a mute feature today that will allow users to stop seeing tweets and retweets from other users in their timelines without unfollowing them. # We've included some commented out config examples here. # You can always add more config options for more control. # It's very minimal at this point and uses default values. # Welcome to Serverless! # This file is the main config file for your service. ![]() Creating the projectīut how did you get the project skeleton? The output is very verbose but it will show you everything that the function will do. Debug( "Twitter client setup complete")įunc ( t * Twitter) GetTweetString( article Article) string " func=main.GetArticle file="/home/kainlite/Webs/tbo/tbo/main.go:173" # 4time="T22:39:15-03:00" level=debug msg="Checking to see if the tweet appeared in the last 30 tweets" func="main.(*Twitter).PickArticle" file="/home/kainlite/Webs/tbo/tbo/main.go:125" # time="T22:39:16-03:00" level=debug msg="Sending tweet" func="main.(*Twitter).Send" file="/home/kainlite/Webs/tbo/tbo/main.go:111" # time="T22:39:16-03:00" level=info msg="Non production mode, would've tweeted: Getting started with skaffold: - TBO" func="main.(*Twitter).Send" file="/home/kainlite/Webs/tbo/tbo/main.go:113" screenName = twitterScreenName // This is the format of the tweet NewToken( twitterAccessKey, twitterAccessSecret) NewConfig( twitterConsumerKey, twitterConsumerSecret) Fatal( "Twitter access secret can not be null") Fatal( "Twitter access key can not be null") Fatal( "Twitter consumer secret can not be null") Fatal( "Twitter consumer key can not be null") Fatalf( "Twitter screen name cannot be null") Var twitterAccessKey string var twitterAccessSecret string var twitterConsumerKey string var twitterConsumerSecret string // Get the access keys from ENV This functions grabs all the necessary bits to connect to the Twitter API. Client tweetFormat string screenName string ![]() ![]() ID string `json:"id"` URL string `json:"url"` Title string `json:"title"` Content string `json:"content_html"` Published string `json:"date_published"`Ĭonfig * oauth1. ![]() Version string `json:"version"` Title string `json:"title"` BaseURL string `json:"home_page_url"` FeedURL string `json:"feed_url"` Articles Article `json:"items"` "encoding/json" "fmt" "io/ioutil" "math/rand" "net/http" "os" "strings" "time" "/aws/aws-lambda-go/lambda" "/dghubble/go-twitter/twitter" "/dghubble/oauth1" "/joho/godotenv" log "/sirupsen/logrus"
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |