In this URL , Facebook explains how to authenticate using Facebook Connect.
Basically, the following steps:
Redirecting to facebook as an example. As a result, I will receive an authorization code
https:
Send an HTTP message to the following address by asking for access_token
https:
Facebook will respond to the last HTTP post with access_token . Good.
The validity of the access_token obtained above. The number of seconds during which it will still be valid is returned with access_token . OK.
Problem: What to do after it expires?
- Facebook:
( access_token) ( expires). , , access_token
! , (1). . -. , .
?
PS: , access_token. access_token. , , facebook , .