I am trying to write a facebook application using Java tomcat with RestFB.
restfb documentation shows the following:
I think I can look at the wrong instructions, and this has to do with connecting to facebook or anything else besides the real facebook application inside apps.facebook.com/app_name.
I would really appreciate any relevant information about the issue. I am just trying to create a simple facebook application that prints a username.
In general, after I get the user access token, I can do the following:
FacebookClient facebookClient = new DefaultFacebookClient(MY_ACCESS_TOKEN);
User user = facebookClient.fetchObject("me", User.class);
out.println("User name: " + user.getName());
, ? , , , 2 . , acess. , , , get set.
, , .
, !:)
. , . , - facebook get. , ?