Hi,
I have made some minor modifications on the Facebook Publishing Plugin:
1. A field 'message' (check GraphApi reference
<https://developers.facebook.com/docs/graph-api/reference/v2.2/album/photos>)
is included in the request containing the EXIV parameters 'comment'. This
publishes the image comment on the Facebook image description.
2. A field 'backdated_time' is also included with the exposure time
obtained from the publishable object. This sets the image date to the
exposure date on the Facebook Timeline.
I applied these changes (check the patch file attached) to the latest git
commit (b1fb4bd09), compiled the code and tested it. It works as expected.
I am not familiar with your developing cycle so I am sending the changes
and I hope you can merge them and make this feature available in the next
release. It is going to be a great advantage to have Shotwell doing a
decent Facebook export, given that this is hard to find, specially in an
open source image gallery.
Kind regards,
Eduardo Arnold.
diff --git a/plugins/shotwell-publishing/FacebookPublishing.vala b/plugins/shotwell-publishing/FacebookPublishing.vala
index 0c8293a..79b7a0a 100644
--- a/plugins/shotwell-publishing/FacebookPublishing.vala
+++ b/plugins/shotwell-publishing/FacebookPublishing.vala
@@ -1396,12 +1396,6 @@ internal class GraphSession {
string publishable_title = publishable.get_publishing_name();
if (!suppress_titling && publishable_title != "")
mp_envelope.append_form_string("name", publishable_title);
-
- //Set 'message' data field with EXIF comment field
- mp_envelope.append_form_string("message", publishable.get_param_string("comment"));
-
- //Sets correct date of the picture
- mp_envelope.append_form_string("backdated_time", publishable.get_exposure_date_time().to_string());
string source_file_mime_type =
(publishable.get_media_type() == Spit.Publishing.Publisher.MediaType.VIDEO) ?
_______________________________________________
shotwell-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/shotwell-list