[gnome-documents/wip/facebook] facebook miner: Using facebook:photos:ID as the photo identifier



commit 8849d1e31321fcb7b2c0aa226a1c6b32b97481c7
Author: Álvaro Peña <alvaropg gmail com>
Date:   Wed Jun 5 17:18:16 2013 +0200

    facebook miner: Using facebook:photos:ID as the photo identifier
    
    This allows to use another prefixes in the future, like facebook:notes.

 src/miner/gd-facebook-miner.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/miner/gd-facebook-miner.c b/src/miner/gd-facebook-miner.c
index 027f0cc..70524c8 100644
--- a/src/miner/gd-facebook-miner.c
+++ b/src/miner/gd-facebook-miner.c
@@ -273,7 +273,7 @@ account_miner_job_process_photo (GdAccountMinerJob *job, GFBGraphPhoto *photo, c
                 "created_time", &photo_created_time,
                 NULL);
 
-  identifier = g_strdup_printf ("facebook:%s", photo_id);
+  identifier = g_strdup_printf ("facebook:photos:%s", photo_id);
 
   /* remove from the list of the previous resources */
   g_hash_table_remove (job->previous_resources, identifier);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]