From 6431a3efad49fe4e1350d4628f201f6eea6b3810 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Beaufort?= Date: Tue, 1 Nov 2011 08:42:31 -0300 Subject: [PATCH] Added ProfileCard Widget Support --- following.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/following.py b/following.py index 4f525a3..f82793c 100755 --- a/following.py +++ b/following.py @@ -11,9 +11,14 @@ __author__ = 'scelfo@gmail.com (Tony Scelfo)' + import json import sys + +PROFILE_CARD_IFRAME= '' + + def main(argv): if len(argv) < 2: print 'must specify an input file' @@ -31,7 +36,7 @@ def main(argv): # Friends can have more than one profileId, the first seems to be the # one that google+ wants. id = friend['profileIds'][0] - print '%s: https://plus.google.com/%s' % (friend['displayName'], id) + print PROFILE_CARD_IFRAME % id if __name__ == '__main__': main(sys.argv)