<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -9,9 +9,9 @@ SPRINGNOTE_PROTOCOL = 'http'
 SPRINGNOTE_SERVER = 'api.springnote.com'
 SPRINGNOTE_PORT = 80
 
-REQUEST_TOKEN_URL = 'https://api.openmaru.com/oauth/request_token'
-ACCESS_TOKEN_URL = 'https://api.openmaru.com/oauth/access_token/springnote'
-AUTHORIZATION_URL = 'https://api.openmaru.com/oauth/authorize'
+REQUEST_TOKEN_URL = 'https://api.springnote.com/oauth/request_token'
+ACCESS_TOKEN_URL  = 'https://api.springnote.com/oauth/access_token'
+AUTHORIZATION_URL = 'https://api.springnote.com/oauth/authorize'
 
 
 class SpringnoteClient(oauth.OAuthClient):
@@ -25,7 +25,7 @@ class SpringnoteClient(oauth.OAuthClient):
         oauth_request = oauth.OAuthRequest.from_consumer_and_token(self.consumer, http_url=REQUEST_TOKEN_URL)
         oauth_request.sign_request(self.signature_method, self.consumer, None)
 
-        connection = httplib.HTTPSConnection(&quot;%s:%d&quot; % ('api.openmaru.com', 443))
+        connection = httplib.HTTPSConnection(&quot;%s:%d&quot; % (SPRINGNOTE_SERVER, 443))
         connection.request(oauth_request.http_method, REQUEST_TOKEN_URL, headers=oauth_request.to_header()) 
         response = connection.getresponse()
         return oauth.OAuthToken.from_string(response.read())
@@ -38,9 +38,9 @@ class SpringnoteClient(oauth.OAuthClient):
         
     def fetch_access_token(self, token):
         oauth_request = oauth.OAuthRequest.from_consumer_and_token(self.consumer, token=token, http_url=ACCESS_TOKEN_URL)
-        oauth_request.sign_request(self.signature_method, self.consumer, None)
+        oauth_request.sign_request(self.signature_method, self.consumer, token)
 
-        connection = httplib.HTTPSConnection(&quot;%s:%d&quot; % ('api.openmaru.com', 443))
+        connection = httplib.HTTPSConnection(&quot;%s:%d&quot; % (SPRINGNOTE_SERVER, 443))
         connection.request(oauth_request.http_method, ACCESS_TOKEN_URL, headers=oauth_request.to_header()) 
         response = connection.getresponse()
         self.access_token = oauth.OAuthToken.from_string(response.read())
@@ -57,7 +57,6 @@ class SpringnoteClient(oauth.OAuthClient):
             parameters['domain'] = domain
             url += &quot;?domain=%s&quot; % domain
         
-        print url
         oauth_request = oauth.OAuthRequest.from_consumer_and_token(self.consumer, token=self.access_token, http_method='GET', http_url=url, parameters=parameters)
         oauth_request.sign_request(self.signature_method, self.consumer, self.access_token)        
 </diff>
      <filename>springnote/python/client.py</filename>
    </modified>
    <modified>
      <diff>@@ -7,8 +7,8 @@ import hmac
 import base64
 
 VERSION = '1.0' # Hi Blaine!
-HTTP_METHOD = 'GET'
-SIGNATURE_METHOD = 'PLAINTEXT'
+HTTP_METHOD = 'POST'
+SIGNATURE_METHOD = 'HMAC-SHA1'
 
 # Generic exception class
 class OAuthError(RuntimeError):</diff>
      <filename>springnote/python/oauth.py</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>b188bf3aacdc917b1cbd03bedb35745d9992da71</id>
    </parent>
  </parents>
  <author>
    <name>Bryan Kang</name>
    <email>deepblue@deepblue.local</email>
  </author>
  <url>http://github.com/deepblue/snippets/commit/50bcfcc83070f51559557fec8c20256fc72e781f</url>
  <id>50bcfcc83070f51559557fec8c20256fc72e781f</id>
  <committed-date>2009-02-08T18:55:02-08:00</committed-date>
  <authored-date>2009-02-08T18:55:02-08:00</authored-date>
  <message>change host: api.openmaru.com -&gt; api.springnote.com</message>
  <tree>fd5e69329803b69cb67cb4795a58ee36ec547764</tree>
  <committer>
    <name>Bryan Kang</name>
    <email>deepblue@deepblue.local</email>
  </committer>
</commit>
