public void token() throws TembooException, IOException{
		file = new File("dc.txt");
		String callbackID;

		InitializeOAuth initializeOAuthChoreo = new InitializeOAuth(session);

		InitializeOAuthInputSet initializeOAuthInputs = initializeOAuthChoreo.newInputSet();

		initializeOAuthInputs.set_AppID("395494320570728");
		initializeOAuthInputs.set_Scope("read_stream,publish_actions");

		InitializeOAuthResultSet initializeOAuthResults = initializeOAuthChoreo.execute(initializeOAuthInputs);
		callbackID = initializeOAuthResults.get_CallbackID().trim();	

		//System.out.println("Opening URL");
		JOptionPane.showMessageDialog(mark,"Opening URL's. Please Wait...","Initializing",JOptionPane.INFORMATION_MESSAGE,icon);

		
		
		this.openBrowser(initializeOAuthResults.get_AuthorizationURL());

		FinalizeOAuth finalizeOAuthChoreo = new FinalizeOAuth(session);
		FinalizeOAuthInputSet finalizeOAuthInputs = finalizeOAuthChoreo.newInputSet();
		finalizeOAuthInputs.set_CallbackID(callbackID);
		finalizeOAuthInputs.set_AppSecret("7c874744ce5b9cfdf94fd330441ab8eb");
		finalizeOAuthInputs.set_AppID("395494320570728");
		FinalizeOAuthResultSet finalizeOAuthResults = finalizeOAuthChoreo.execute(finalizeOAuthInputs);
		fbAccessToken = finalizeOAuthResults.get_AccessToken();
		storeAccessToken();
		//System.out.println(fbAccessToken);
		getCreds();
		refresh(list);

	}