Hello,
For whoever is interested, i've written a little facebook application to integrate my zenphoto gallery into facebook. Photos are not uploaded to fb but rather directly fetched from the site, so this requires a few additional files to be installed on the gallery server. There may still be a few kinks, and some more testing may be needed (f.i. my host doesn't allow url rewriting so i have no idea how it will behave in that case). Anyway if you think this may be interesting i could open a trac issue and attach the sources. The url if you have a fb account and want to test it: http://apps.facebook.com/zenface
-- gd
Hi,
I've tested it and it works great for me -- using URL rewriting.
However there is a detail you didn't mention, but which is very important if you want your app to work: you need PHP5 or your zp-facebook/common.php script will not work. It took me a little time to figure this out, but it works great once PHP5 is activated (on 1and1.fr you just have to add "AddType x-mapp-php5 .php" in your .htaccess).
Thanks!
edasque,
I come from a Java background and php5 seems way more natural to me than php4 - although it doesn't come without its flaws but i guess i'm just not fluent enough in php. Nevertheless if you want to give it a bit more testing, you could try to replace common.php with http://fbzp.free.fr/common-php4 (rename it to common.php). I can't garantee it will work but i have high hopes. If it does i'll update the zip file.
Erik,
Thanks for testing! Actually i'm already working on the next version. I'm pretty overbooked recently so this doesn't progress really fast, thus i have just scratched the settings screens. I'll try to add profile box customization, virtual galleries, and integrate facebook "social" api (let your "friends" tag and add comments, filtered notifications, etc.).
The next version is being developped under zenface-dev (btw i think the app canvas url seems odd now since the app has been renamed to zenbook due to facebook naming policy).
On a different topic, I'm not notified when this subject is updated; and i wonder if it is possible to subscribe to a bbpress thread (to be notified by mail, without relying on a rss reader).
I didn't test with 1.1.3. Seems to work fine on my end. Actually i don't touch the deployed application, i'm only working on the dev one (zenface-dev). Please note though that there's still a known bug: spaces in album path are not supported right now - spaces in album title are ok (the parameter 'album' references the album folder name, not the album name).
I just tried this out on my gallery, using 1.1.3. The root loads, with thumbnails. However clicking on any of the albums results in an error "Error. Unexpected Error". The URL of the page that gives an error is http://apps.facebook.com/zenface/?q=album&owner=777235163&album=2007%20September%20First%20Day%20School/
I am using PHP5.
Any thoughts?
Got the same error myself actually.
As i said before, spaces in album folder are not supported. You're trying to access the album "2007 September First Day School", At the moment you should store the album in a different folder (for instance 2007SeptemberFirstDaySchool). I'm not really sure why yet. The truth is that i thought this situation were quite uncommon. Seems it's not..
I don't have any spaces in my folders, it just says :
Error
Unexpected error.
pennyless,
I've just changed a few things (in zenface-dev) in the way i retrieve the album name. The gallery page and album page are affected by those changes. So could you try to install zenface-dev (no changes are required concerning the integration files) and tell me if that fixes your problem ? I haven't yet tackled the whitespace issue.