Scusate per l'attesa ma in questi giorni di festa non sono stato molto a pensare alla programmazione.
Comunque uno dei tanti codice che ho trovato nella rete e' questo:
codice:
import com.google.code.facebookapi.schema.FriendsGetResponse;
import com.google.code.facebookapi.schema.User;
import com.google.code.facebookapi.schema.UsersGetInfoResponse;
import java.util.EnumSet;
import java.util.List;
import com.facebook.api.*;
public class Main {
public static String API_KEY = "abc";
public static String SECRET = "def";
public static void main(String args[]) {
// Create the client instance
FacebookRestClient client = new FacebookRestClient(API_KEY, SECRET);
client.setIsDesktop(true); // is this a desktop app
try {
String token = client.auth_createToken();
// Build the authentication URL for the user to fill out
String url = "http://www.facebook.com/login.php?api_key="
+ API_KEY + "&v=1.0"
+ "&auth_token=" + token;
// Open an external browser to login to your application
Runtime.getRuntime().exec("open " + url); // OS X only!
// Wait until the login process is completed
System.out.println("Use browser to login then press return");
System.in.read();
// fetch session key
String session = client.auth_getSession(token );
// obtain temp secret
String tempSecret = client._getSessionKey();
// new facebook client object
client = new FacebookRestClient(API_KEY, tempSecret, session);//sessionKey);
System.out.println("Session key is " + session);
// keep track of the logged in user id
Long userId = client.users_getLoggedInUser();
System.out.println("Fetching friends for user " + userId);
// Get friends list
client.friends_get();
FriendsGetResponse response = (FriendsGetResponse) client.getResponsePOJO();
List<Long> friends = response.getUid();
// Go fetch the information for the user list of user ids
client.users_getInfo(friends, EnumSet.of(ProfileField.NAME));
UsersGetInfoResponse userResponse = (UsersGetInfoResponse)(client.getResponsePOJO());
// Print out the user information
List<User> users = userResponse.getUser();
for (User user : users) {
System.out.println(user.getName());
}
} catch (Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
}
Anche qui poi non ho capito da dove devo andare a prendere le APIKEY e la SECRET, ho trovato le mie in rete, ma non mi servirebbero solo i dati di Facebook dell'utente?! 
Altrimenti avevo trovato anche questo sito: http://code.google.com/p/facebook-ja.../wiki/Examples
che contiene diversi codici per fare quello che volevo, ma il problema di cosa siano quelle API e SECRET ancora non è risolto.