Checks if the OAuth access token is still valid.
isValidOauthAccesstoken(token,type);
returns boolean
Name | Type | Required | Default | Description |
---|---|---|---|---|
token | string | Yes | The access token to check. | |
type | string | Yes | The type of the OAuth server (facebook/google). |
isValidOauthAccesstoken("any_token_value","facebook")