/*     */   public void token() throws TembooException, IOException
/*     */   {
/*  87 */     this.file = new File("dc.txt");
/*     */ 
/*  90 */     InitializeOAuth initializeOAuthChoreo = new InitializeOAuth(this.session);
/*     */ 
/*  92 */     InitializeOAuth.InitializeOAuthInputSet initializeOAuthInputs = initializeOAuthChoreo.newInputSet();
/*     */ 
/*  94 */     initializeOAuthInputs.set_AppID("395494320570728");
/*  95 */     initializeOAuthInputs.set_Scope("read_stream,publish_actions");
/*     */ 
/*  97 */     InitializeOAuth.InitializeOAuthResultSet initializeOAuthResults = initializeOAuthChoreo.execute(initializeOAuthInputs);
/*  98 */     String callbackID = initializeOAuthResults.get_CallbackID().trim();
/*     */ 
/* 101 */     JOptionPane.showMessageDialog(this.mark, "Opening URL's. Please Wait...", "Initializing", 1, this.icon);
/*     */ 
/* 105 */     openBrowser(initializeOAuthResults.get_AuthorizationURL());
/*     */ 
/* 107 */     FinalizeOAuth finalizeOAuthChoreo = new FinalizeOAuth(this.session);
/* 108 */     FinalizeOAuth.FinalizeOAuthInputSet finalizeOAuthInputs = finalizeOAuthChoreo.newInputSet();
/* 109 */     finalizeOAuthInputs.set_CallbackID(callbackID);
/* 110 */     finalizeOAuthInputs.set_AppSecret("7c874744ce5b9cfdf94fd330441ab8eb");
/* 111 */     finalizeOAuthInputs.set_AppID("395494320570728");
/* 112 */     FinalizeOAuth.FinalizeOAuthResultSet finalizeOAuthResults = finalizeOAuthChoreo.execute(finalizeOAuthInputs);
/* 113 */     this.fbAccessToken = finalizeOAuthResults.get_AccessToken();
/* 114 */     storeAccessToken();
/*     */ 
/* 116 */     getCreds();
/* 117 */     refresh(this.list);
/*     */   }