facebook获得本人信息

long logged = client.users_getLoggedInUser();
                       Long u = new Long(logged);
                       List<Long> list_u = new LinkedList<Long>();
                       list_u.add(u);
                       client.users_getInfo(list_u, EnumSet.of(
                               ProfileField.NAME,
                               ProfileField.PIC_SMALL,
                               ProfileField.STATUS,
                               ProfileField.PIC_BIG
                               ));

你可能感兴趣的:(Facebook)