Hello,
http://uzs.3b6.myftpupload.com/wplmoauth/token
I used above link to get access token for my user
It gave me following response
{
"access_token": "kelsg5qv87daxb9emayuaimqwirswcfacb6dw3aa",
"expires_in": 86400,
"token_type": "Bearer",
"scope": "basic",
"refresh_token": "opsky6kvb21hqh3v8zuppg95vnwx4b2bzst28udl"
}
Now my questions are (in context of REST API):
1) What is a unit of "expires_in" value? like minutes, hours
2) What is a use of "refresh_token"?
3) How to refresh access "access_token"? (Please give some sample code)
4) Is it possible to refresh access token without changing its value?
5) How to use "refresh_token"? (Please give some sample code)
MkModerator
What is a unit of "expires_in" value? like minutes, hours : Second
But as I told you before. Its just a setting , we made tis to use in future which is not in use currently. so please ignore expire time.
it doesn't expire so you don't need refresh token.