Bug 166672 - Wish: Export to Facebook
Summary: Wish: Export to Facebook
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-WebService-Facebook (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-15 22:53 UTC by Neil V
Modified: 2018-03-23 11:44 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In: 0.2.0


Attachments
python facebook photo uploader, "proof of concept" (3.97 KB, text/python)
2008-12-23 00:13 UTC, Klaus Bitto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Neil V 2008-07-15 22:53:46 UTC
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
Comment 1 Neil V 2008-07-15 22:55:44 UTC
I found the documentation on facebook photo uploads here:
http://developers.facebook.com/documentation.php?v=1.0&doc=photoupload
Comment 2 David Fraser 2008-08-21 19:35:05 UTC
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.
Comment 3 David Fraser 2008-08-21 19:35:35 UTC
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.
Comment 4 David Fraser 2008-08-21 19:37:14 UTC
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.
Comment 5 jamundso 2008-09-13 02:00:17 UTC
*** This bug has been confirmed by popular vote. ***
Comment 6 Klaus Bitto 2008-12-23 00:13:05 UTC
Created attachment 29561 [details]
python facebook photo uploader, "proof of concept"
Comment 7 Klaus Bitto 2008-12-23 00:13:55 UTC
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/)
Comment 8 Arnd Baecker 2008-12-23 10:45:58 UTC
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.
Comment 9 Klaus Bitto 2008-12-23 16:10:43 UTC
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!
Comment 10 Luka Renko 2008-12-25 19:54:48 UTC
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.
Comment 11 Colin Guthrie 2008-12-26 16:00:53 UTC
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.
Comment 12 Luka Renko 2008-12-29 01:25:06 UTC
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