Amrit Singh
Amrit Singh

Reputation: 3

C# Send tweets on twitter from multiple accounts

Well i am workin on a c# application and i want to be able to send tweets to multiple twitter accounts . I wanted to know is it possible ?

Edit : Sorry for not being specific :D How can it be done ?

Upvotes: 0

Views: 1276

Answers (2)

Chief Wiggum
Chief Wiggum

Reputation: 2934

The short answer to your question is: Yes.

The a bit longer answer is: Yes it's easily possible and I would recommend to you to have a look at LINQ to Twitter. This library is very simple to use and allows you to connect to twitter in no-time:

    var auth = new ApplicationOnlyAuthorizer
        {
            CredentialStore = new InMemoryCredentialStore
            {
                ConsumerKey = "twitterConsumerKey",
                ConsumerSecret = "twitterConsumerSecret"
            }
        };

        auth.AuthorizeAsync();

        var twitterCtx = new TwitterContext(auth);
        var tweet = twitterCtx.TweetAsync("Hello world");

Auth part copied from Joe Mayo here: Twitter API application-only authentication (with linq2twitter)

Upvotes: 1

Vivek Raj
Vivek Raj

Reputation: 456

take a look at tutorial how set tweet with twitter API here

Upvotes: 0

Related Questions