2013-03-16 31 views

回答

6

您必須在Transport參數添加到回調的第一行:

t := &oauth.Transport{ 
    Config: oauth_conf, 
    Transport: &urlfetch.Transport{Context: c}, 
}