title: How to get permanent access token in graph API
body: <p>I created an APP on Facebook and using graph API explorer, I selected my app from app drop down box, requested access token with manage_pages, offline_access and publish_stream permissions.</p>
  
  <p>Using this access token, I was successfully able to post message on page using <code>restfb</code> APIs but when I log out, it starts throwing <code>The session is invalid error</code>.</p>
  
  <p>I read on few posts that offline_access is deprecated. Could someone tell me how to obtain permanent access token?</p>
  
  <p>Thanks</p>