Version: 0.9.3 (using KDE 4.0.5) Installed from: Fedora RPMs Compiler: gcc-4.3.0-8.x86_64 Qt: 3.3.8b, KDE: 3.5.9-16.fc9 Fedora, digiKam: 0.9.3 OS: Linux Similar to exporting to Picasa and Flickr, it should be possible to export selected photos to facebook using the facebook API. This has been discussed in the Ubuntu forums, but no progress was made as of Jan 2008: http://ubuntuforums.org/showthread.php?t=540986
I found the documentation on facebook photo uploads here: http://developers.facebook.com/documentation.php?v=1.0&doc=photoupload
Being able to code plugins etc would make this easier as there are nice Python etc wrappers for the Facebook API that support photo uploading.
Being able to code plugins in other languages would make this easier as there are nice Python etc wrappers for the Facebook API that support photo uploading.
Note that others may find useful in the mean time: I currently achieve this by using the Export to Gallery function (I have a gallery2 online) and then using http://apps.facebook.com/gallery_import/ to copy photos across from there.
*** This bug has been confirmed by popular vote. ***
Created attachment 29561 [details] python facebook photo uploader, "proof of concept"
Is there anything going on regarding python bindings for kipi-plugins? I wrote this small facebook uploader script: http://klaus.bitto.eu/pyFbPhotoUpload/fbphotoupload.py As you can see, it's very small, since the summer of code project pyFacebook already covers all the needed functionality - it only needs to be called. So it should be very easy to write a GUI with pyQT and transform this script into a kipi-plugin once there are bindings... I'd really like to have a facebook exporter plugin, but I fear I cannot write C++ well enough. (Until then, you can of course use the above script from the console. To run it, you will need pyFacebook from http://code.google.com/p/pyfacebook/)
It should be possible to start your script eg from within digikam, see eg https://bugs.kde.org/show_bug.cgi?id=88932#c7 In the longer run KROSS integration, see https://bugs.kde.org/show_bug.cgi?id=146866, would enable scripting (including python) support; this is fo course only doable for the upcoming KDE4 version, and most certainly a post 0.10 thing.
Great, I'll look into using the .desktop files in digikam. (I'm coming over from the ubuntu/Gnome front and I'm very dissatisified with f-spot, as well as many other very basic things in the Gnome world.) I'll also watch how KROSS is coming along, to finally implement the exporter+GUI once scripting support is done. Opening all the APIs for more languages this way really helps a lot in making kde better even faster than its current speed of development and improving. Believe me, I'm so happy I switched over from the sleepy Gnome. Thanks a lot!
I might look into coding this in C++: API looks very similar to SmugMug API, which I coded recently and I would also like to have this in KIPI-Plugins.
FWIW I will be doing this as part of a new framework based on Akonadi. I've just been totally swamped with the real job to get much done on it lately. This will be a KDE wide solution but it will obviously be of most interest to Digikam/KIPI host apps.
SVN commit 902711 by lure: New KIPI Plugin: Facebook exporter - http://www.facebook.com Now you can upload your photos to Facebook service from your favorite KDE photo application! You will need to give access to KIPI Plugin application from your Facebook account. You will be able to specify to which album to upload photos. You can also create new album with various settings (name, location, privacy). Currently you need to manually approve uploaded photos on you Facebook home page, but you can change this by visiting this page: http://www.facebook.com/authorize.php?api_key=bf430ad869b88aba5c0c17ea6707022b&v=1.0&ext_perm=photo_upload Screenshots: - main window: http://img522.imageshack.us/img522/2729/fbexportxu0.png - new album dialog: http://img522.imageshack.us/img522/9964/fbexportnewalbumio6.png FEATURE: 166672 M +2 -1 AUTHORS M +1 -0 CMakeLists.txt M +2 -0 NEWS M +1 -0 README A fbexport (directory) A fbexport/CMakeLists.txt AM fbexport/Messages.sh A fbexport/TODO A fbexport/fbalbum.cpp [License: GPL (v2+)] A fbexport/fbalbum.h [License: GPL (v2+)] A fbexport/fbitem.h [License: GPL (v2+)] A fbexport/fbtalker.cpp [License: GPL (v2+)] A fbexport/fbtalker.h [License: GPL (v2+)] A fbexport/fbwidget.cpp [License: GPL (v2+)] A fbexport/fbwidget.h [License: GPL (v2+)] A fbexport/fbwindow.cpp [License: GPL (v2+)] A fbexport/fbwindow.h [License: GPL (v2+)] A fbexport/kipiplugin_fbexport.desktop A fbexport/mpform.cpp [License: GPL (v2+)] A fbexport/mpform.h [License: GPL (v2+)] A fbexport/plugin_fbexport.cpp [License: GPL (v2+)] A fbexport/plugin_fbexport.h [License: GPL (v2+)] WebSVN link: http://websvn.kde.org/?view=rev&revision=902711