Twitter 处理和API';s

Twitter 处理和API';s,twitter,processing,Twitter,Processing,下面是代码的顶部部分: import java.util.* ; //Build an ArrayList to hold all of the words that we get from the imported tweets ArrayList<String> words = new ArrayList(); void setup() { //Set the size of the stage, and the background to black. size(8

下面是代码的顶部部分:

import java.util.* ;

//Build an ArrayList to hold all of the words that we get from the imported tweets
ArrayList<String> words = new ArrayList();

void setup() {
  //Set the size of the stage, and the background to black.
  size(800,800);
  background(0);
  smooth();
  frameRate(5);

  //Credentials
  ConfigurationBuilder cb = new ConfigurationBuilder();
import java.util.*;
//构建一个ArrayList来保存我们从导入的推文中获得的所有单词
ArrayList words=新的ArrayList();
无效设置(){
//将舞台大小和背景设置为黑色。
尺寸(800800);
背景(0);
光滑的();
帧率(5);
//证书
ConfigurationBuilder cb=新的ConfigurationBuilder();
我试图做一些类似于Jer Thorp的教程的事情: 但我一直收到一个错误:找不到名为“ConfigurationBuilder”的类或类型
我尝试导入内容,但在尝试拖放文件时不断出错-有什么建议吗?

您应该能够将库
.jar
文件拖到处理编辑器上。确保获得正确的
.jar
文件,您可以通过将其作为存档文件进行检查或使用
jar tf命令


您还可以使用Sketch->import library菜单导入库。如果库尚未安装,则您必须使用此处概述的步骤手动安装它:

谢谢,我认为这是我的问题。