title: Issue Connecting to facebook using facebookclient object with access_token
body: <p>Im trying to retrieve the posts from my facebook graph api Users wall.
  The code I have implemented is as follows.</p>
  
  <pre><code>try 
  {
      FacebookClient facebookClient = new DefaultFacebookClient("123406454567|hEcTbdascdfffffa1e334gf");
      Connection&lt;Post&gt; posts = facebookClient.fetchConnection(""+id+"/posts", Post.class);//id=app-user-id
      java.util.List&lt;Post&gt; list;
      list = posts.getData();
      for(Post p:list)
      {
          System.out.println(p.getDescription());
      }
  } 
  catch (FacebookException e) 
  {
      e.printStackTrace();
  }
  </code></pre>
  
  <p>
  I retrieved the access_token for my app using the link:</p>
  
  <pre>https://graph.facebook.com/oauth/access_token?type=client_cred&client_id=***&client_secret=***</pre>
  
  <p>I get a warning:</p>
  
  <blockquote>
    <p>2012-02-16 17:35:28.291:WARN::/
            java.lang.NoClassDefFoundError: org/apache/log4j/Logger
                at com.restfb.DefaultWebRequestor.(DefaultWebRequestor.java:73)
                at com.restfb.DefaultFacebookClient.(DefaultFacebookClient.java:119)
                at com.akaara.se.fb.FacebookCallbackHandler$FacebookCallbackHandlerDelegate.handleHttpPost(FacebookCallbackHandler.java:98)
                at com.akaara.se.fb.FacebookCallbackHandler$FacebookCallbackHandlerDelegate.handle(FacebookCallbackHandler.java:49)
                at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
                at org.mortbay.jetty.Server.handle(Server.java:326)
                at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
                at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:943)
                at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756)
                at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
                at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
                at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
                at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)</p>
  </blockquote>
  
  <p>
  From this I can understand That access_token is the issue.
  Im pretty new to this.
  can anyone help me with this?
  Thanks In Advance.</p>
  
  <p>I Have Included log4j.jar to my build path.</p>