Example #1
0
        public Task <string> Tweet(string tweet)
        {
            string TwitterConsumerKey    = Storage.GetString(TwitterNewsSharerSettingsPage.TwitterConsumerKeyKey);
            string TwitterConsumerSecret = Storage.GetString(TwitterNewsSharerSettingsPage.TwitterConsumerSecretKey);

            string TwitterAccessToken       = Storage.GetString(TwitterNewsSharerSettingsPage.TwitterAccessTokenKey);
            string TwitterAccessTokenSecret = Storage.GetString(TwitterNewsSharerSettingsPage.TwitterAccessTokenSecretKey);

            InnerTweeter.UpdateCredentials(TwitterConsumerKey, TwitterConsumerSecret, TwitterAccessToken, TwitterAccessTokenSecret);

            return(InnerTweeter.Tweet(tweet));
        }
Example #2
0
 public void Tweet(string message, string hashTag, string picture)
 {
     tweeter_.Tweet(MisakuraConverter.Convert(message), hashTag, picture);
 }
 public void Tweet(Indulgence indulgence)
 {
     _tweeter.Tweet(indulgence);
 }