# FacebookGraphResponse

Argument passed to the graph API callback, in response to a requestWithGraphPath call.

Availability
3.1.0
3.1.0
Extends

NOTE

This is an abstract type. Any object of this structure can be used where this type is used.

# Properties

# code

Availability
3.1.0
3.1.0
code :Number

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

Availability
3.1.0
3.1.0
error :String

Error message, if any returned.

Will be undefined if success is true.


# path

Availability
3.1.0
3.1.0
path :String

Graph API path of the original request.


# result

Availability
3.1.0
3.1.0
result :String

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


# success

Availability
3.1.0
3.1.0
success :Boolean

Indicates if the operation succeeded.

Returns true if request succeeded, false otherwise.