From f63bc06d2da7971a7d920df3841185cb519036f7 Mon Sep 17 00:00:00 2001 From: Callum Macdonald Date: Wed, 12 Jun 2013 15:19:40 +0300 Subject: [PATCH] Ping.fm is dead, switch to Composer.io Ping.fm has gone down. Composer.io hosts a drop in replacement for the API. --- Ping.fm/app/assistants/main-assistant.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Ping.fm/app/assistants/main-assistant.js b/Ping.fm/app/assistants/main-assistant.js index d4a6e4f..8eb45ac 100644 --- a/Ping.fm/app/assistants/main-assistant.js +++ b/Ping.fm/app/assistants/main-assistant.js @@ -74,7 +74,7 @@ KeyDialogAssistant.prototype.checkKey = function() Mojo.Log.info('checkKey: ' + params.toQueryString()); - var request = new Ajax.Request('http://api.ping.fm/v1/user.key', + var request = new Ajax.Request('http://papi.cmp.sr/v1/user.key', { method: 'post', parameters: params, @@ -519,7 +519,7 @@ MainAssistant.prototype.pingIt = function() this.controller.modelChanged(this.pingBtnModel); var method = this.methodModel.value; - var url = 'http://api.ping.fm/v1/user.post'; + var url = 'http://papi.cmp.sr/v1/user.post'; this.prefs.defaultMethod = method; @@ -534,7 +534,7 @@ MainAssistant.prototype.pingIt = function() if (method.charAt(0) == '#') { - url = 'http://api.ping.fm/v1/user.tpost'; + url = 'http://papi.cmp.sr/v1/user.tpost'; // toLowerCase workaround Ping.fm API bug params.set('trigger', method.substring(1).toLowerCase()); } @@ -647,7 +647,7 @@ MainAssistant.prototype.updateMethods = function() if (this.updatedMethods.hasNoServices) { - request = new Ajax.Request('http://api.ping.fm/v1/user.services', + request = new Ajax.Request('http://papi.cmp.sr/v1/user.services', { method: 'post', parameters: @@ -663,7 +663,7 @@ MainAssistant.prototype.updateMethods = function() if (this.updatedMethods.hasNoTargets) { - request = new Ajax.Request('http://api.ping.fm/v1/user.triggers', + request = new Ajax.Request('http://papi.cmp.sr/v1/user.triggers', { method: 'post', parameters: