[Pkg-mozext-commits] [gcontactsync] 27/88: Added support for v1.1 of Twitter's REST API

David Prévot taffit at moszumanska.debian.org
Thu Sep 18 20:52:26 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository gcontactsync.

commit 9c571558c89ea05f8d28d94188019ee2596154e9
Author: Josh Geenen <joshgeenen at gmail.com>
Date:   Tue Jan 7 21:08:14 2014 -0600

    Added support for v1.1 of Twitter's REST API
---
 src/content/Import.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/content/Import.js b/src/content/Import.js
index 8ba7372..e7a3a15 100644
--- a/src/content/Import.js
+++ b/src/content/Import.js
@@ -152,7 +152,7 @@ com.gContactSync.Import = {
     /** The user's profile image */
     profile_image_url: "TwitterImageURL",
     /** The user's homepage */
-    url:               "WebPage2",
+    expanded_url:      "WebPage2",
     /** The user's description */
     description:       "Notes"
   },
@@ -548,7 +548,7 @@ com.gContactSync.Import = {
         com.gContactSync.Overlay.setStatusBarText(com.gContactSync.StringBundle.getStr('importFailed'));
         return;
       }
-      var arr = obj.entry || obj.data || obj,
+      var arr = obj.entry || obj.data || obj.users || obj,
           abContacts = {};
       if (aMerge) {
         let abContactsArray = aAB.getAllContacts();

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/gcontactsync.git



More information about the Pkg-mozext-commits mailing list