twitter update

This commit is contained in:
Adam D. Ruppe 2014-01-22 09:51:17 -05:00
parent 0413347c7d
commit a010362564
1 changed files with 1 additions and 1 deletions

View File

@ -290,7 +290,7 @@ string tweet(OAuthParams params, string oauthToken, string tokenSecret, string m
auto data = "status=" ~ rawurlencode(message);//.replace("%3F", "?");//encodeVariables(["status" : message]);
auto ret = curlOAuth(params, "http://api.twitter.com" ~ "/1.1/statuses/update.json", args, "POST", data);
auto ret = curlOAuth(params, "https://api.twitter.com" ~ "/1.1/statuses/update.json", args, "POST", data);
auto val = jsonToVariant(ret).get!(Variant[string]);
if("id_str" !in val)