The constructor.
the access token.
the app id.
the app secret id.
Protected
Optional
apiThe API Version.
The app id.
The app secret id.
Protected
paramsThe request params.
the page option token to create the param.
Builds the config of the request.
the request config.
Executes the requests and returns a promise of the parsed response.
the promise of a parsed response.
Protected
methodProtected
parseParses the response into a response object.
the parsed response.
Protected
urlSets the API version that the request will use.
this request, for use in chain invocation.
the API version to use.
Adds the limit param to the request.
this request, for use in chain invocation.
the number of objects to retrieve.
Adds a paging param to the request.
this request, for use in chain invocation.
the page option token to create the param.
Adds the range params to the request.
this request, for use in chain invocation.
the since param.
the until param.
Generated using TypeDoc
This class is used to exchange a short-lived-token by a long-lived-token that you get when the user performs a Facebook login in your page and wants to authorize your app to make requests for longer than a short-lived token's expiration.
This long-lived-token last ~60 days according to Facebook documentation: https://developers.facebook.com/docs/facebook-login/access-tokens/refreshing
Author
Andres Gutierrez andres99@gmail.com
Since
2.0.0