summaryrefslogtreecommitdiff
path: root/protocols/Twitter/src/proto.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-07-06 17:24:42 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-07-06 17:24:42 +0000
commitb760585571667f0e71d48ee074c5161a50548ca7 (patch)
treef2a5051cc28992dc2fec0ffe1f7857dbdfe22f91 /protocols/Twitter/src/proto.cpp
parentff81cbdd84f85ae9ae42011eac3c05a588e55df1 (diff)
- fix for the auth url;
- precompiled headers; - unused junk removed; - version bump git-svn-id: http://svn.miranda-ng.org/main/trunk@9712 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Twitter/src/proto.cpp')
-rw-r--r--protocols/Twitter/src/proto.cpp10
1 files changed, 2 insertions, 8 deletions
diff --git a/protocols/Twitter/src/proto.cpp b/protocols/Twitter/src/proto.cpp
index b2e1bf021f..f90f6b504c 100644
--- a/protocols/Twitter/src/proto.cpp
+++ b/protocols/Twitter/src/proto.cpp
@@ -15,6 +15,7 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#include "stdafx.h"
#include "proto.h"
#include "utility.h"
@@ -22,13 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "ui.h"
#include "oauth.dev.h"
-#include "m_folders.h"
-
-#include <algorithm>
-#include <cstdio>
-#include <ctime>
-#include <direct.h>
-
static volatile LONG g_msgid = 1;
TwitterProto::TwitterProto(const char *proto_name,const TCHAR *username) :
@@ -69,7 +63,7 @@ TwitterProto::TwitterProto(const char *proto_name,const TCHAR *username) :
ConsumerKey = OAUTH_CONSUMER_KEY;
ConsumerSecret = OAUTH_CONSUMER_SECRET;
- AuthorizeUrl = _T("http://api.twitter.com/oauth/authorize?oauth_token=%s");
+ AuthorizeUrl = _T("https://api.twitter.com/oauth/authorize?oauth_token=%s");
}
TwitterProto::~TwitterProto()