Indeed zenface-dev is the fb app, located at apps.facebook.com/zenface-dev. That's a good idea - adding a big note on the pref page whenever the integration need to be updated. I'll add that asap (well, more likely after the 2-day christmas break). Feature wise, zenface-dev is for now quite the same as zenface. I have almost finished polishing the settings screens.
Erik,
For now those settings are not effective (they're not concretized in the gallery pages). They can only be saved but are not used yet (and the friend includes/excludes list is actually not yet saved). However my idea was to allow tagging and commenting at zenphoto level: adding a tag (resp. a comment) in zenbook will imply a request to your zenphoto gallery - this is not a facebook's tag. So it is indeed a zenphoto tag.
Concerning the profile box customization, i'm still not sure of its feasibility as running a cron is not an option here. If real time randomization is not possible, it will require a manual refresh of the profile box (through the settinqs page).
Does this make sense ?
I have a recommendation, you know, we just get the myZenGallery button, anyway to load album thumbnails straight in the app box, or album titles?
So I installed the zenbook dev, here is the odd problem that its creating with my links,
http://apps.facebook.com/zenface-dev/?q=album&owner=502738435&album=yself/
That link the end should point to myself not yself so I can't figure out why its cutting apart my links, thats the source of my errors, if I mainly correct the url, it works fine.
Thanks for that info. I can't figure out neither what is the problem here. I'll add some client-side debugging capabilities so that you can have more hints about what could be going wrong ; it will make things easier for me to fix. This won't be done before a few days though.
no big rush here
There are a couple of constraints within the facebook architecture we must deal with.
Profile box content is statically cached. So pushing new user-dependent content (to randomize profile box content) requires to periodically refresh that content. It is usually done (on fb) with a cron task. It is actually, from what i've read, the preferred way to do it.
Images are also cached by url. So we migt need to randomize the url as well. I think of a couple of options to attain profile box customization but i'm not sure of the feasibility of the solution. It would consist in accessing the resource through a randomized url. The image stream would be written on the response output, but before that new content should be pushed to the profile. I still need to try it to validate the approach.
Alternatively displaying the last n albums on the profile box has a number of shortcomings. Since the communication between zenbook and zenphoto is (for now at least) unidirectional, zenbook would't be able to refresh the profile box when an album is added on the zenphoto side.
That was quite a long explanation which, i hope, should clarify the profile box issues i'm facing right now.
Hello,
I've added some minimalist client-side debugging support in zenbook dev (server-side controlled through configuration). On the gallery page, after the album list, the album name construction steps are listed for each album. If you experiment some issues with the album names, please have a look at it and let me know how the name is retrieved.
Additionally i've added some pseudo-random profile content: When random profile box style is chosen (on form submit), we grab 12 random images on the zp site, and push them to the profile box as . This solution is still not ideal though functionnal (please note that profile content is not yet polished - i still need to add gallery info). I might add later an option to specify the number of random items to fetch.
You will need to update your integration files to see those changes (link on zb-dev general settings page).
goddinet: I have added an article for this to our extensions page so that it's easier to find and linked to this thread: http://www.zenphoto.org/2007/12/facebook-integration/
I took bascially your first post as a description for now.
I updated a few albums so that they have no spaces in the name or in the files. Still getting an unexpected error. Any thoughts?
Here is the facebook URL:
http://apps.facebook.com/zenface-dev/?q=album&owner=777235163&album=2007OctoberMisc/
Here is the zenphoto URL (ignore the theme for now, it's a WIP):
http://thenears.homeserver.com/zenphoto/index.php?album=2007OctoberMisc&page=1
pnear, I cannot access the 2007OctoberMisc album on your site (using the url you provided): it says the page is password-protected. I don't know if this the cause of the error you're seeing or not, but it might be worth to test with a public album. As a matter of fact this is anyway a good use case: i didn't even know it was possible to protect albums with zenphoto (and so i didn't take this in consideration). It's also worth noting that the album name ends with a '/'. Removing it manually doesn't change anything, but i wonder if we should let it or trim it - again i have no way test the app against fancy server options.
Interesting... I specifically took out the password so that you could hit it, but yeah when I clear out cookies it is indeed still looking for a password. Hmmm... think that might be a ZP bug.
FWIW, I would be happy handing off authorization to Facebook perms (ie only my friends can see my zenbook pics). Whether your script works around the password, or passes it in from Facebook I'd be happy.
My main concern is keeping "the wrong people" from having access to 4000+ pictures of my little daughters.
I second the security issue. This should be on top of the todo list. However I've looked quickly into zenphoto admin area and can't see where to enable password-protection. I use zp 1.1.1, so i assume this is a posterior feature, or did i miss something obvious ? I'll try to update to 1.1.3 and look into this.
Yes this is a 1.1.3 feature: http://www.zenphoto.org/category/news/changelog/
Maybe you should try the nightly build as well.
What is all this that now appears?
Album name 'yself/' construction steps:
Album name 'y/' construction steps:
Album name 'ravels/' construction steps:
Album name 'sc/' construction steps: