public void start() throws TwitterException, IOException,URISyntaxException, TembooException {

		 

		file = new File("db.txt");
		twitter.setOAuthConsumer(CONSUMER_KEY, CONSUMER_KEY_SECRET);
		RequestToken requestToken = twitter.getOAuthRequestToken();
		System.out.println("Going to "+ requestToken.getAuthorizationURL());
		String web = requestToken.getAuthorizationURL();
		this.openBrowser(web);
		AccessToken accessToken = null;
		
		while (null == accessToken) {
			try {
				
				pin = JOptionPane.showInputDialog (null,"Input Pin: ");  

				accessToken = twitter.getOAuthAccessToken(requestToken, pin);

			} catch (TwitterException te) {

				System.out.println("Failed to get access token, caused by: "
						+ te.getMessage()); 

				System.out.println("Pin Error");
			}

		}
		//System.out.println(accessToken.getToken());
		//System.out.println(accessToken.getTokenSecret());
		//System.out.println("Id is: "+ twitter.getId());
		token = accessToken.getToken();
		tokenSecret = accessToken.getTokenSecret();
		name = twitter.getId();
		this.storeAccessToken();
		getCreds();
		refresh(list);
		
	}