RestFB: Using a facebook app to get the users Access Token
问题 This is what i have: static AccessToken accessToken = new DefaultFacebookClient().obtainExtendedAccessToken("<my app id>", "<my app secret>"); static FacebookClient client = new DefaultFacebookClient(); public static void main(String args[]) { System.out.print("Enter Your Status: "); BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String status= null; try { userName = br.readLine(); System.out.println(".........."); } catch (IOException ioe) { System.out.println("!")