Pages (5): 1 2 3 4 5   
Member
Member
gdodinet   01-12-2007, 01:48
#1

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

Member
Member
Schnouki   02-12-2007, 05:18
#2

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!

Member
Member
gdodinet   02-12-2007, 12:33
#3

Thanks for testing. Indeed i forgot to mention the php5 issue (on free.fr you can also add "php 1" in the .htaccess file). I will update the user preferences page to inform about this detail.

Member
Member
edasque   03-12-2007, 16:54
#4

Really too bad it requires PHP5. Would really like to use it but who knows what PHP5 would break on my system.

Member
Member
gdodinet   03-12-2007, 19:28
#5

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.

Member
Member
edasque   14-12-2007, 21:07
#6

This worked quite well, gdodinet, with that php4 compatibility common file.

Are you planning to add features ? Hit me if you need any suggestions, I have lots.

Member
Member
gdodinet   14-12-2007, 21:49
#7

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).

Administrator
Administrator
acrylian   15-12-2007, 10:24
#8

You can subscribe to the forum's complete feed or to a feed of a special thread. You should see the rss icon in your brower's adress bar.
I believe there is no e-mail notification build in.

Member
Member
gdodinet   16-12-2007, 01:14
#9

Too bad there's no email notification. I guess i'll have to learn how well rss is supported in gmail. Thanks.

Member
Member
naib   17-12-2007, 13:07
#10

Works well here \o/ just facebook is being really slow this end (nothing todo with my gallery or this app, just generally)

Member
Member
edasque   17-12-2007, 17:40
#11

might be broken now. Or maybe 1.1.3 breaks it ?

Member
Member
gdodinet   17-12-2007, 19:48
#12

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).

Member
Member
naib   17-12-2007, 20:55
#13

using 1.1.3 here and the facebook app is fine

Member
Member
pnear   18-12-2007, 04:18
#14

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?

Member
Member
pennylessz28   18-12-2007, 05:35
#15

Got the same error myself actually.

Member
Member
gdodinet   18-12-2007, 06:48
#16

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..

Developer
Developer
trisweb   18-12-2007, 07:11
#17

Yep, many people use spaces as it makes the title come through naturally. I do as well, and also had problems accessing those albums.

Still very cool, thanks!

Member
Member
pennylessz28   18-12-2007, 23:31
#18

I don't have any spaces in my folders, it just says :

Error
Unexpected error.

Member
Member
gdodinet   19-12-2007, 02:56
#19

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.

Member
Member
edasque   19-12-2007, 22:14
#20

So Zenface-dev is the name of the application in facebook (not released) but you can't search for it, you have to add it by hand.

Let us know if the php code changes as well...

Pages (5): 1 2 3 4 5   
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.