Documentation ¶
Index ¶
Constants ¶
View Source
const ( FacebookProfileMeURL = "https://graph.facebook.com/v2.1/me?access_token=%s&appsecret_proof=%s" FacebookPictureURL = "https://graph.facebook.com/%s/picture?redirect=0&height=320&width=320&type=square" )
View Source
const (
GPlusProfileURL string = "https://www.googleapis.com/plus/v1/people/%s?fields=id,displayName,name,emails,image,url&access_token=%s"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Facebook ¶
type FacebookPicture ¶
type FacebookPicture struct {
Data FacebookPictureData `json:"data"`
}
type FacebookPictureData ¶
type FacebookPictureData struct {
URL string `json:"url"`
}
type FacebookProfile ¶
type Fetcher ¶
func NewGooglePlus ¶
type GooglePlus ¶
type GooglePlusEmailData ¶
type GooglePlusProfile ¶
type GooglePlusProfile struct { Id string `json:"id"` Url string `json:"url"` Name GooglePlusUserNameData `json:"name"` DisplayName string `json:"displayName"` Emails []GooglePlusEmailData `json:"emails"` Image GooglePlusProfileImageData `json:"image"` }
type GooglePlusProfileImageData ¶
type GooglePlusProfileImageData struct {
Url string `json:"url"`
}
type GooglePlusUserNameData ¶
Click to show internal directories.
Click to hide internal directories.