Created
February 11, 2015 21:35
-
-
Save DannyDelott/6df737dbeb2a6a6d26d9 to your computer and use it in GitHub Desktop.
Gets the TwitterStream object inside Main.java
This file contains 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
private static TwitterStream twitter; | |
private static int numVinesScraped = 0; // see Step 4 | |
private static final int NUM_VINES_TO_DOWNLOAD = -1; // see Step 4 | |
private static final String SAVE_DIRECTORY = “vines/“; // see Step 4 | |
public static void main(String[] args) { | |
// Connects to the Streaming API | |
twitter = TwitterStreamBuilderUtil.getStream(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment