Interface FacebookGraphApiNodeParameters

Source
interface FacebookGraphApiNodeParameters {
    allowUnauthorizedCerts?: boolean;
    binaryPropertyName?: string;
    edge?: string;
    graphApiVersion?:
        | ""
        | "v23.0"
        | "v22.0"
        | "v21.0"
        | "v20.0"
        | "v19.0"
        | "v18.0"
        | "v17.0"
        | "v16.0"
        | "v15.0"
        | "v14.0"
        | "v13.0"
        | "v12.0"
        | "v11.0"
        | "v10.0"
        | "v9.0"
        | "v8.0"
        | "v7.0"
        | "v6.0"
        | "v5.0"
        | "v4.0"
        | "v3.3"
        | "v3.2"
        | "v3.1"
        | "v3.0";
    hostUrl?: | "graph.facebook.com"
    | "graph-video.facebook.com";
    httpRequestMethod?: "GET"
    | "POST"
    | "DELETE";
    node?: string;
    options?: {
        fields?: { field: { name?: string }[] };
        queryParameters?: {
            parameter: { name?: string; value?: string }[];
        };
        queryParametersJson?: string;
    };
    sendBinaryData?: boolean;
}

Properties§

Source§

readonly allowUnauthorizedCerts?: boolean

Whether to connect even if SSL certificate validation is not possible

Source§

readonly binaryPropertyName?: string

For Form-Data Multipart, they can be provided in the format: "sendKey1:binaryProperty1,sendKey2:binaryProperty2

Source§

readonly edge?: string

Edge of the node on which to operate. Edges represent collections of objects which are attached to the node.

Source§

readonly graphApiVersion?:
    | ""
    | "v23.0"
    | "v22.0"
    | "v21.0"
    | "v20.0"
    | "v19.0"
    | "v18.0"
    | "v17.0"
    | "v16.0"
    | "v15.0"
    | "v14.0"
    | "v13.0"
    | "v12.0"
    | "v11.0"
    | "v10.0"
    | "v9.0"
    | "v8.0"
    | "v7.0"
    | "v6.0"
    | "v5.0"
    | "v4.0"
    | "v3.3"
    | "v3.2"
    | "v3.1"
    | "v3.0"

The version of the Graph API to be used in the request

Source§

readonly hostUrl?: "graph.facebook.com" | "graph-video.facebook.com"

The Host URL of the request. Almost all requests are passed to the graph.facebook.com host URL. The single exception is video uploads, which use graph-video.facebook.com. Default: "graph.facebook.com"

Source§

readonly httpRequestMethod?: "GET" | "POST" | "DELETE"

The HTTP Method to be used for the request Default: "GET"

Source§

readonly node?: string

The node on which to operate. A node is an individual object with a unique ID. For example, there are many User node objects, each with a unique ID representing a person on Facebook.

Source§

readonly options?: {
    fields?: { field: { name?: string }[] };
    queryParameters?: {
        parameter: { name?: string; value?: string }[];
    };
    queryParametersJson?: string;
}

Default: {}

Source§

readonly sendBinaryData?: boolean

Whether binary data should be sent as body