title: Get facebook access token with java code
body: <p>I have 2 questions:  </p>
  
  <ul>
  <li><ol>
  <li>I am trying to get access token through java code and not through Facebook developers site.
  Does anyone have idea how can I do it?  </li>
  </ol></li>
  <li><ol start="2">
  <li>is it possible to get longer access token that expires after more than 1 hour ?</li>
  </ol></li>
  </ul>
  
  <p>I read about some options but not something that is possible to me as simple user in Facebook.</p>