From 75359cd2ddfe2e020ca85b00bc3baf978f0cd454 Mon Sep 17 00:00:00 2001 From: Tobias Weimer Date: Fri, 26 Oct 2012 16:55:09 +0000 Subject: quick fix for twitter request token https://dev.twitter.com/discussions/11610 git-svn-id: http://svn.miranda-ng.org/main/trunk@2087 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Twitter/src/twitter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/protocols/Twitter/src/twitter.cpp b/protocols/Twitter/src/twitter.cpp index 794959b328..6371e68ca7 100644 --- a/protocols/Twitter/src/twitter.cpp +++ b/protocols/Twitter/src/twitter.cpp @@ -98,11 +98,11 @@ bool twitter::set_credentials(const std::string &username, const std::wstring &c } http::response twitter::request_token() { - return slurp(base_url_+"oauth/request_token",http::get); + return slurp("https://api.twitter.com/oauth/request_token",http::get); } http::response twitter::request_access_tokens() { - return slurp(base_url_+"oauth/access_token", http::get); + return slurp("https://api.twitter.com/oauth/access_token", http::get); } void twitter::set_base_url(const std::string &base_url) -- cgit v1.2.3