GNOME Bugzilla – Bug 700451
Support Facebook
Last modified: 2013-11-29 11:59:10 UTC
Pickup Facebook accounts from GNOME Online Accounts and let the user access photos from Facebook.
*** Bug 700452 has been marked as a duplicate of this bug. ***
I have push (in a new branch: wip/facebook) an initial implementation of the Facebook item to show the photos stored by the Facebook miner. Take a look at: https://git.gnome.org/browse/gnome-photos/commit/?h=wip/facebook&id=28d36c625f073fb24d306b8db0d132eb6bbb0f09
Thank you Álvaro for progressing with the wip/facebook branch. Somehow the branch is not rebased properly, so I went ahead and fixed it locally. I am attaching the patches.
Created attachment 263046 [details] [review] Add PhotosFacebookItem
Created attachment 263047 [details] [review] item-manager: Create a FacebookItem when we get one
Currently I am getting this crash with my Facebook account: ** (gnome-photos:11128): ERROR **: Can't get the photo from the Facebook Graph (gdb) bt
+ Trace 232851
Created attachment 263058 [details] [review] Fixed the tracker identifier name
Created attachment 263059 [details] [review] Start the miner from the application
Review of attachment 263058 [details] [review]: Oh, yes. Ofcourse that explains the crash. This should me squashed with the previous commit.
Review of attachment 263059 [details] [review]: Looks good. You are missing the URL to the bug in the commit message.
Created attachment 263105 [details] [review] Add PhotosFacebookItem
Created attachment 263106 [details] [review] application: Start the Facebook miner
Created attachment 263107 [details] [review] properties-dialog: Show the source for Facebook items
Review of attachment 263047 [details] [review]: ::: src/photos-item-manager.c @@ +286,3 @@ if (g_str_has_prefix (identifier, "flickr:") || g_str_has_prefix (identifier, "photos:collection:flickr:")) ret_val = photos_flickr_item_new (cursor); + else if (g_str_has_prefix (identifier, "facebook:")) This does not cover Facebook collections. See the condition for Flickr above.
Created attachment 263108 [details] [review] item-manager: Create a FacebookItem when we get one
Thank you Álvaro for your efforts over the last several months. I am sure lots of people would be glad to have this feature.