Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExchangeToken ¶
ExchangeToken exchanges short living token to long living token. See https://developers.facebook.com/docs/facebook-login/access-tokens/refreshing.
Types ¶
type Client ¶
Client is a Facebook SDK client for making GraphAPI requests and handling errors.
type Token ¶
type Token struct { }
Token represents token model for token refresh and token exchange
type User ¶
type User struct { ID string `json:"id,omitempty"` // ID of this person's user account. This ID is unique to each app and cannot be used across different apps. Email string `json:"email,omitempty"` Name string `json:"name,omitempty"` ProfilePic string `json:"profile_pic,omitempty"` }
User is a user profile data on Facebook platform: https://developers.facebook.com/docs/graph-api/reference/v2.6/user.
Click to show internal directories.
Click to hide internal directories.