FacebookRESTResponse
> FacebookRESTResponse

Argument passed to the REST API callback when a request completes (successfully or unsuccessfully).

This class has been removed since 4.0.0

  • 3.1.0
  • 3.1.0
  • 3.1.0

NOTE This is an abstract type. Any object meeting this description can be used where this type is used.

Defined By

Properties

Error code. ...

Error code. Returns 0 if success is true.

Error code will be 0 if success is true, nonzero otherwise. If the error was generated by the operating system, that system's error value is used. Otherwise, this value will be -1.

Error message, if any returned.

Error message, if any returned.

Will be undefined if success is true.

FacebookRESTResponse
method : String

REST method call you specified.

REST method call you specified.

FacebookRESTResponse
: String
If successful, returns the JSON response returned by Facebook. ...

If successful, returns the JSON response returned by Facebook. If the request is not successfully completed, the result is undefined.

Indicates if the operation succeeded.

Indicates if the operation succeeded.

Returns true if request succeeded, false otherwise.