We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5476379 commit 742585bCopy full SHA for 742585b
1 file changed
oauth/facebook_provider.go
@@ -56,7 +56,7 @@ func (provider *FacebookProvider) getRawData(token string, photoDimension int) (
56
buf, _ := ioutil.ReadAll(resp.Body)
57
err = json.Unmarshal(buf, &response)
58
if err != nil {
59
- log.Printf(string(buf))
+ log.Printf("%s", string(buf))
60
return nil, err
61
}
62
response["avatar"] = fmt.Sprintf("https://graph.facebook.com/%s/picture?type=square&width=%d&height=%d", response["id"], photoDimension, photoDimension)
0 commit comments