Skip to content

Instantly share code, notes, and snippets.

@DannyDelott
Created February 11, 2015 21:35
Show Gist options
  • Save DannyDelott/6df737dbeb2a6a6d26d9 to your computer and use it in GitHub Desktop.
Save DannyDelott/6df737dbeb2a6a6d26d9 to your computer and use it in GitHub Desktop.
Gets the TwitterStream object inside Main.java
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