Open
Conversation
* Program.cs: Added a sample program to read tweets using the API * TwitterStream.cs: Added an API to retrieve tweets. Split up the main program in functions. JSON messages are now retrieved in a separate thread and posted to either the MSMQ framework or to a local thread-safe queue for parsing. The API methods grab tweets from the queue, but the framework is still there to retrieve JSON messages from the MSMQ. * TwitterStreamClient.csproj: Build as a Library to get the DLL and include it in your project. Or Build as an Executable to run the sample program. * TwitterStreamClient.sln: Added an API for reading tweets from the public twitter stream API. * status.cs: Moved to TwitterObjects/Status.cs * user.cs: Moved to TwitterObjects/User.cs * User.cs: * Media.cs: * Sizes.cs: * Places.cs: * Status.cs: * Hashtag.cs: * Entities.cs: * TwitterUrl.cs: * Coordinates.cs: * Contributors.cs: Added POJOs for getting (most) fields in a twitter JSON response
of a queue * TwitterStreamFilter.cs: Added methods for setting up a filter to use with the filtered twitter public stream
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Added a more user friendly API that exposes the methods in TwitterStream so that it'd be relatively simple to start parsing tweets from the stream. The JSON responses are handled in a background thread and posted to either the MessageQueue or a local queue so creating the Status objects can be done in the main thread.