Exfacebook.Config (exfacebook v0.2.0)

Copy Markdown View Source

Runtime configuration for Graph API version and app credentials.

Summary

Functions

Graph API version used in request paths.

Base Graph API host. Defaults to https://graph.facebook.com.

Host used for video uploads. Defaults to https://graph-video.facebook.com.

Facebook app id, used to build app access tokens (id|secret).

Facebook app secret, used to sign requests with appsecret_proof.

Functions

api_version()

Graph API version used in request paths.

Defaults to v26.0, the current Graph API version as of 2026-07-29. See https://developers.facebook.com/docs/graph-api/changelog/versions/

graph_url()

Base Graph API host. Defaults to https://graph.facebook.com.

graph_video_url()

Host used for video uploads. Defaults to https://graph-video.facebook.com.

id()

Facebook app id, used to build app access tokens (id|secret).

secret()

Facebook app secret, used to sign requests with appsecret_proof.