Exemple #1
0
func NewFacebookOauth2ClientTester(properties jsonhelper.JSONObject) oauth2_client.OAuth2Client {
	c := oauth2_client.NewFacebookClient()
	c.Initialize(properties)
	return c
}
Exemple #2
0
func (p *FacebookContactService) CreateOAuth2Client(settings jsonhelper.JSONObject) (client oauth2_client.OAuth2Client, err os.Error) {
	client = oauth2_client.NewFacebookClient()
	client.Initialize(settings)
	return
}
func HandleFacebookOauthTestRequest(w http.ResponseWriter, req *http.Request) {
	HandleGenericOauthTestRequest(w, req, oauth2_client.NewFacebookClient(), oauth2_client.GET, "facebook.client.test_url", "", PARSED_FACEBOOK_TEMPLATE)
}