Quantcast
Channel: NodeXL: Network Overview, Discovery and Exploration for Excel
Viewing all articles
Browse latest Browse all 4386

New Post: Programitically download Twitter data into GraphML using NodeXL

$
0
0
To reuse NodeXL's Twitter network importers in another application:
  1. Download the NodeXL source code.
  2. Open NodeXL.sln in Visual Studio 2008 or 2010. If you are using Visual Studio 2010, let Visual Studio convert the solution.
  3. In Solution Explorer, delete all projects except GraphDataProviders, ExcelTemplatePlugins, and Util.
  4. Modify TwitterAccessToken.GetAccessTokenFilePath() to fit your application's needs. NodeXL stores Twitter's access token in a file so the user doesn't have to reauthorize with Twitter every time she imports a network.
  5. Build the solution. The assembly you need will be at NodeXL\GraphDataProviders\bin\Debug\Smrf.NodeXL.GraphDataProviders.dll. Add a reference to this assembly to your own application.
  6. In your application, create a TwitterSearchNetworkGraphDataProvider object, then call its TryGetGraphDataAsTemporaryFile(out String pathToTemporaryFile) method. That method opens a dialog for specifying what to include in the network, gets the network from Twitter, and stores the results in a GraphML file.
-- Tony

Viewing all articles
Browse latest Browse all 4386

Latest Images

Trending Articles



Latest Images

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