OSDN Git Service

T28004
[evermemo/source.git] / workspace / EverMemo / src / com / yuji / em / utility / EvernoteUtil.java
index b54af74..d77d81f 100644 (file)
@@ -182,7 +182,8 @@ public class EvernoteUtil {
        private String getAuthenticationToken() {
                try {
                        if (authenticationToken == null) {
-                               String userStoreUrl = "https://sandbox.evernote.com/edam/user";
+                               //String userStoreUrl = "https://sandbox.evernote.com/edam/user";
+                               String userStoreUrl = "https://www.evernote.com/edam/user";
                                THttpClient userStoreTrans = new THttpClient(userStoreUrl);
                                TBinaryProtocol userStoreProt = new TBinaryProtocol(
                                                userStoreTrans);
@@ -200,7 +201,8 @@ public class EvernoteUtil {
                                                username, password, consumerKey, consumerSecret);
                                authenticationToken = authResult.getAuthenticationToken();
 
-                               String noteStoreUrlBase = "https://sandbox.evernote.com/edam/note/";
+                               //String noteStoreUrlBase = "https://sandbox.evernote.com/edam/note/";
+                               String noteStoreUrlBase = "https://www.evernote.com/edam/note/";
                                User user = authResult.getUser();
                                String noteStoreUrl = noteStoreUrlBase + user.getShardId();
                                THttpClient noteStoreTrans = new THttpClient(noteStoreUrl);