diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2012-10-26 16:55:09 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2012-10-26 16:55:09 +0000 |
commit | 75359cd2ddfe2e020ca85b00bc3baf978f0cd454 (patch) | |
tree | e349b173583c72b22c3eeaa5ef2e068260618ff4 /protocols/Twitter/src | |
parent | 962555da3092fbe8ff6e65eb590c1fa38bf1a124 (diff) |
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
Diffstat (limited to 'protocols/Twitter/src')
-rw-r--r-- | protocols/Twitter/src/twitter.cpp | 4 |
1 files 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)
|