title: Facebook oauth2 API refresh tokens
body: <p>I am building an application that does not have a client interface.</p>
  
  <p>At the setup step: The user logs into the server throught a browser once using oauth, and the server makes sure that the client is identified.</p>
  
  <p>From this point on, no browsers are invlovled. It all happens in the background.
  It then keeps acting on behalf of the user for as long as the user can be validated.
  That means that once in a while, my server needs to call the oauth provider to validate the user still exists.
  Until now, I have only used google oauth: Once in a while, I would call the refreshtoken api, and get a new token indefinitely from the server side. (you need to ask for "offline access" when you get the user token).</p>
  
  <p>Now I would like to use facebook as well, but reading their APIs, I see no mention of a possibility for a server to refresh it's tokens:
  <a href="https://developers.facebook.com/docs/facebook-login/access-tokens/refreshing/" rel="nofollow noreferrer">https://developers.facebook.com/docs/facebook-login/access-tokens/refreshing/</a>
  It looks like it all has to be done from the client device.
  As I have no client device, does this mean that I cannot write this sort of app with facebook?</p>