package
1.4.4
Repository: https://github.com/dreamdata-io/facebook.git
Documentation: pkg.go.dev

# Functions

Api makes a facebook graph api call with default session.
Batch makes a batch facebook graph api call with default session.
BatchApi makes a batch facebook graph api call with default session.
Data creates new binary data holder.
DataWithContentType creates new binary data holder with arbitrary content type.
DefaultHttpClient returns the http client for default session.
Delete is a short hand of Api(path, DELETE, params).
File creates a binary file holder.
FileAlias creates a binary file holder and specific a different path for reading.
FileAliasWithContentType creates a new binary file holder with arbitrary content type.
Get is a short hand of Api(path, GET, params).
MakeParams makes a new Params instance by given data.
MakeResult makes a Result from facebook Graph API response.
New creates a new App and sets app id and secret.
Post
Post is a short hand of Api(path, POST, params).
Put is a short hand of Api(path, PUT, params).
Request makes an arbitrary HTTP request with default session.
SetHttpClient updates the http client of default session.

# Constants

Graph API debug mode values.
Graph API debug mode values.
turn off debug.
Graph API debug mode values.
Facebook graph api methods.
ErrCodeUnknown is unknown facebook graph api error code.
Facebook graph api methods.
POST
Facebook graph api methods.
Facebook graph api methods.

# Variables

Debug is the app level debug mode.
RFC3339Timestamps will cause all requests to return RFC3339 formatted timestamps.
Version is the default facebook api version.

# Structs

AdAccountUsage is the rate limiting header for Ads API.
AdsInsightsThrottle is the rate limiting header for Ads Insights API.
App holds facebook application information.
BatchResult represents facebook batch API call result.
BinaryData represents binary data from a given source.
BinaryFile represents a file on disk.
DebugInfo is the debug information returned by facebook when debug mode is enabled.
DebugMessage is one debug message in "__debug__" of graph API response.
Error represents Facebook API error.
PagingResult represents facebook API call result with paging information.
RateLimiting is the rate limiting header for business use cases.
Session holds a facebook session with an access token.
UnmarshalError represents a json decoder error.
UsageInfo is the app usage (rate limit) information returned by facebook when rate limits are possible.

# Interfaces

HttpClient is an interface to send http request.

# Type aliases

BusinessUseCaseUsage is the business use case usage data.
DebugMode is the debug mode of Graph API.
Special number types which can be decoded from either a number or a string.
Special number types which can be decoded from either a number or a string.
Special number types which can be decoded from either a number or a string.
Special number types which can be decoded from either a number or a string.
Special number types which can be decoded from either a number or a string.
Special number types which can be decoded from either a number or a string.
Special number types which can be decoded from either a number or a string.
Method is HTTP method for an API call.
Params is the params used to send Facebook API request.
Result is Facebook API call result.
Special number types which can be decoded from either a number or a string.
Special number types which can be decoded from either a number or a string.
Special number types which can be decoded from either a number or a string.
Special number types which can be decoded from either a number or a string.
Special number types which can be decoded from either a number or a string.