This project has moved and is read-only. For the latest updates, please go here.

Raw Commands

A raw query lets you manually add URL segments and parameters to communicate with any HTTP POST endpoint in the Twitter API.
public async Task<string> ExecuteRawAsync(
    string queryString, Dictionary<string, string> parameters)
Name Purpose Type Required
queryString URL segments string yes
parameters Name/value pairs for post parameters Dictionary<string, string> no

Return Type: string
            string status = 
                "Testing LINQ to Twitter Raw Interface - " + 
                DateTime.Now.ToString() + " #Linq2Twitter";
            var parameters = new Dictionary<string, string>
                { "status", status }

            string queryString = "/statuses/update.json";

            string result = 
                await twitterCtx.ExecuteRawAsync(
                    queryString, parameters);

            if (result != null)
                    "\nResponse from update status: \n\n\t" + result);

Twitter API: Any HTTP POST endpoint in the Twitter API

Last edited Nov 29, 2013 at 5:09 AM by JoeMayo, version 2