Comprehensive Twitter Integration For .NET
Comprehensive Twitter Integration For .NET
  • DataBind to Twitter using standard Visual Studio wizards.
  • Comprehensive support for CRUD (Create, Read, Update, and Delete) operations.
  • Integrate .NET applications with Twitter Search, GeoSearch, UserInfo, DirectMessages, Followers, and more!
Download Beta

The Twitter ADO.NET Data Provider offers the most natural way to access Twitter data from any .NET application. Simply use Twitter Data Provider objects to connect and access data just as you would access any traditional database. You will be able to use the Twitter Data Provider through Visual Studio Server Explorer, in code through familiar classes, and in data controls like DataGridView, GridView, DataSet, etc.

Using the Twitter Data Provider

The Twitter Data Provider wraps the complexity of accessing Twitter services in an easy-to-integrate, fully-managed ADO.NET Data Provider. Applications then access Twitter through the Twitter Data Provider with simple Transact-SQL.

 

The Twitter ADO.NET Data Provider hides the complexity of accessing data and provides additional powerful security features, smart caching, batching, socket management, and more.

Working with DataAdapters, DataSets, DataTables, etc.

The Twitter Data Provider has the same ADO.NET architecture as the native .NET data providers for SQL Server and OLEDB including: TwitterConnection, TwitterCommand, TwitterDataAdapter, TwitterDataReader, TwitterDataSource, TwitterParameter, and TwitterTransaction. Because of this you can now access Twitter data in an easy, familiar way.

For example:

using (TwitterConnection conn = new TwitterConnection("...")) {
	string select = "SELECT * FROM TwitterTweets";
	TwitterCommand cmd = new TwitterCommand(select, conn);
	TwitterDataAdapter adapter = new TwitterDataAdapter(cmd);
	using (adapter) {
		DataTable table = new DataTable();
		adapter.Fill(table);		
		...
	}
}

More Than Read-Only: Full Update/CRUD Support

Twitter Data Provider goes beyond read-only functionality to deliver full support for Create, Read Update, and Delete operations (CRUD). Your end-users can interact with the data presented by the Twitter Data Provider as easily as interacting with a database table.

using (TwitterConnection connection = new TwitterConnection(connectionString)) {
	TwitterDataAdapter dataAdapter = new TwitterDataAdapter(
	"SELECT Id, Where FROM Tweets", connection);
  
	dataAdapter.UpdateCommand = new TwitterCommand(
		"UPDATE Tweets SET Where = @Where " +
		"WHERE Id = @ID", connection);

	dataAdapter.UpdateCommand.Parameters.AddWithValue("@Where", "Where");
	dataAdapter.UpdateCommand.Parameters.AddWithValue("@Id", "80000173-1387137645");

	DataTable TweetsTable = new DataTable();
	dataAdapter.Fill(TweetsTable);

	DataRow firstrow = TweetsTable.Rows[0];
	firstrow["Where"] = "New Location";

	dataAdapter.Update(TweetsTable);
}