Quantcast
Channel: Tweetinvi a friendly Twitter C# library
Viewing all articles
Browse latest Browse all 4126

New Post: Suggestions on Async Operation where each Operation Could Have Different Credentials

$
0
0

Hi,

We have conducted a round of debugging and testing with V9.3.4 with the change to allow DIFFERENT credentials on an Async Tweet request and are going to use this code in a production event this weekend. We changed from our code to your official changes in 9.3.4.

We are doing code like the following. Just wanted to give you feedback that we are moving to the new code and also please let us know if any issues on this code.. and our approach below. Note.. we process exceptions outside this in a service loop.

var credentials = TwitterCredentials.CreateCredentials(accessToken, accessSecret, twConsumerKey, twConsumerSecret);

// just queue them up and continue..

TwitterCredentials.ExecuteOperationWithCredentials(credentials, () =>

{

var tweet = TweetAsync.PublishTweet(message);

}

Thank you for your code,

James

James L. Harris

TriPerta, LLC (creators of RaceJoy)

Altamonte Springs, Fla.

www.triperta.com

407 921 4589

racejoy_200

www.racejoy.com


Viewing all articles
Browse latest Browse all 4126

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>