Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Endpoint = oauth2.Endpoint{
AuthURL: "https://www.facebook.com/v22.0/dialog/oauth",
TokenURL: "https://graph.facebook.com/v22.0/oauth/access_token",
}
Endpoint pins a current Graph API version; the constants shipped with golang.org/x/oauth2/facebook still point at the retired v3.2 dialog.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func (*Client) GetUserInfo ¶
GetUserInfo fetches the user profile from the Graph API. Facebook only returns the email field when the account has a confirmed address and the user granted the email permission, so a non-empty value is verified.
Click to show internal directories.
Click to hide internal directories.