コードヲチョットソウジシタ
This commit is contained in:
@@ -28,17 +28,8 @@ std::map<std::string, std::string> OAuth1::signature(
|
||||
tmp.push_back(key + "=" + value);
|
||||
std::cout << (key + "=" + value) << std::endl;
|
||||
}
|
||||
//std::ostringstream os;
|
||||
//std::copy(tmp.begin(), tmp.end(), std::ostream_iterator<std::string>(os, "&"));
|
||||
//std::string query = os.str();
|
||||
/*std::string query = "";
|
||||
for(auto v : tmp){
|
||||
query += (v + "&");
|
||||
}
|
||||
if(!query.empty()){
|
||||
query.pop_back();
|
||||
}*/
|
||||
std::string query = CocoaTweet::Util::join(tmp, "&");
|
||||
|
||||
std::string query = CocoaTweet::Util::join(tmp, "&");
|
||||
|
||||
auto significateKey = key().consumerSecret() + "&" + key().accessTokenSecret();
|
||||
auto significateBase = _method + "&" + CocoaTweet::Util::urlEncode(_url) + "&" +
|
||||
|
||||
Reference in New Issue
Block a user