summaryrefslogtreecommitdiff
path: root/plugins/shotwell-publishing-extras/TumblrPublishing.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-02-03 14:18:01 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-02-03 14:18:01 +0100
commite69c1b746d63bf794316669471474ab57c8cd40a (patch)
tree4ee7e39ed76490ca4c07c1f7aab832e4f8dc0421 /plugins/shotwell-publishing-extras/TumblrPublishing.vala
parenta7ff7c49085c320c1e0a2ffb66cc6d283c5acb8e (diff)
New upstream version 0.25.4upstream/0.25.4
Diffstat (limited to 'plugins/shotwell-publishing-extras/TumblrPublishing.vala')
-rw-r--r--plugins/shotwell-publishing-extras/TumblrPublishing.vala6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/shotwell-publishing-extras/TumblrPublishing.vala b/plugins/shotwell-publishing-extras/TumblrPublishing.vala
index 183bc31..12b4ade 100644
--- a/plugins/shotwell-publishing-extras/TumblrPublishing.vala
+++ b/plugins/shotwell-publishing-extras/TumblrPublishing.vala
@@ -59,7 +59,7 @@ public class TumblrService : Object, Spit.Pluggable, Spit.Publishing.Service {
namespace Publishing.Tumblr {
internal const string SERVICE_NAME = "Tumblr";
-internal const string ENDPOINT_URL = "http://www.tumblr.com/";
+internal const string ENDPOINT_URL = "https://www.tumblr.com/";
internal const string API_KEY = "NdXvXQuKVccOsCOj0H4k9HUJcbcjDBYSo2AkaHzXFECHGNuP9k";
internal const string API_SECRET = "BN0Uoig0MwbeD27OgA0IwYlp3Uvonyfsrl9pf1cnnMj1QoEUvi";
internal const string ENCODE_RFC_3986_EXTRA = "!*'();:@&=+$,/?%#[] \\";
@@ -865,7 +865,7 @@ internal class AccessTokenFetchTransaction : Transaction {
internal class UserInfoFetchTransaction : Transaction {
public UserInfoFetchTransaction(Session session) {
- base.with_uri(session, "http://api.tumblr.com/v2/user/info",
+ base.with_uri(session, "https://api.tumblr.com/v2/user/info",
Publishing.RESTSupport.HttpMethod.POST);
}
}
@@ -896,7 +896,7 @@ internal class UploadTransaction : Publishing.RESTSupport.UploadTransaction {
public UploadTransaction(Session session,Spit.Publishing.Publishable publishable, string blog_url) {
debug("Init upload transaction");
- base.with_endpoint_url(session, publishable,"http://api.tumblr.com/v2/blog/%s/post".printf(blog_url) );
+ base.with_endpoint_url(session, publishable,"https://api.tumblr.com/v2/blog/%s/post".printf(blog_url) );
this.session = session;
}