Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsTokenExpired ¶
IsTokenExpired returns true if this is a token expired error from the Facebook API client.
Types ¶
type BatchResponse ¶
BatchResponse contains information about one operation in a Graph API batch request.
type Client ¶
Client is a slimmed-down Facebook Graph API client.
func (*Client) GetEventInfo ¶
GetEventInfo fetches information for up to 50 Facebook event IDs using the Facebook Graph API. If some events do not exist or are inaccessible this function may return fewer event infos than the number of ids passed in.
type Error ¶
type Error struct { Message string `json:"message"` Type string `json:"type"` Code int `json:"code"` Subcode int `json:"error_subcode"` FBTraceID string `json:"fbtrace_id"` }
Error is an error returned by the Facebook Graph API
type ErrorResponse ¶
type ErrorResponse struct {
Error Error `json:"error"`
}
ErrorResponse contains an Error. It's returned by the Graph API.
Click to show internal directories.
Click to hide internal directories.