Esempio n. 1
0
func (p *TwitterContactService) CreateOAuth2Client(settings jsonhelper.JSONObject) (client oauth2_client.OAuth2Client, err os.Error) {
	client = oauth2_client.NewTwitterClient()
	client.Initialize(settings)
	return
}
func HandleTwitterOauthTestRequest(w http.ResponseWriter, req *http.Request) {
	HandleGenericOauthTestRequest(w, req, oauth2_client.NewTwitterClient(), oauth2_client.GET, "twitter.client.test_url", "", PARSED_TWITTER_TEMPLATE)
}
Esempio n. 3
0
func NewTwitterOauth2ClientTester(properties jsonhelper.JSONObject) oauth2_client.OAuth2Client {
	c := oauth2_client.NewTwitterClient()
	c.Initialize(properties)
	return c
}