Hi there. Amazing project you guys have! I've been using Gallery2 for years now and I'm excited to make the upgrade to G3.
One feature I hope will be carried through by a community member with the skills is a module that will allow me to import my albums in future G3 onto my Fb account as albums... Album name and image captions copied as well...
Anyone have any plans for such a module?
Thanking you all in advance for a most amazing tool!
Posts: 722
There's a feature request for something like this, but as far as I know, no one is actively working on it.
http://sourceforge.net/apps/trac/gallery/ticket/487
Posts: 12
Many thanks for your reply... I'm going to make the upgrade soon as this module is available.
I use the same one described in the link you provided above (G2 though!!): http://www.facebook.com/apps/application.php?id=2390304162
Can't wait! Having your own gallery is awesome, but the exposure one can get through Fb is too great to ignore. My colleagues and family regularly see my photos on Fb and then visit the link to my G2 to download full res copies... (Love it!)
Thanks rWatcher
Posts: 16
If it helps I have an RSS app on FB watching my RSS feeds.... Ok not perfect but it works.
Terran
Posts: 176
Got excited for a moment when I saw this post!
RSS gets your stuff onto Fb, but nobody goes digging through your news feed from way back when you got married / visited Helsinki! Organization as albums makes viewing countless times more efficient.
I too badly want a G3 to Fb module ~ I've tried to contact the author of the G2 to Fb module but no response unfortunately
Posts: 573
Subscribing
I have the Public RSS on my FB as well. i agree, it does not do the job. Looking forward to hear more of this for G3. I totally agree. Exposure value in FB can nor be ignored.
all the best
HB - http://www.image.agentura.dk
Posts: 573
I sent Gillaume a message asking for this...
all the best
HB - http://www.image.agentura.dk
Posts: 12
Excellent excellent!! I really hope he hears you. Please keep us informed as the outcome! Thanks hebhansen!
Posts: 176
Ditto gainsford...
rWatcher ~ You're the module machine! Any chance you could throw something simple together for the interim? (***Takes a fat chance...)
Posts: 40
I'll update my Gallery Import FB app to support G3 once the import from G2 limitations have been fixed.
Last I checked, only specific file extensions would be imported by the "G2 import module" that comes with G3, and permissions would not be imported. I can't upgrade my Gallery to G3 before this is fixed, and I can't work on G3 support until my Gallery is upgraded to G3.
I'll keep checking the upcoming beta builds, and once those issues are fixed, I'll install G3 and start working on G3 support for my app.
Cheers,
- Guillaume Boudreau
Posts: 176
Hey hey its The Man! Thanks so much for your work on the G2 >> Fb module and again a prospective thanks for the G3 version!
Let't hope your module is completed soon! ;)
Please please keep us updated... Myself and a few others will be happy to beta your G3 module. Any will you be considering any of the additional features suggested in ticket: http://www.facebook.com/apps/application.php?id=2390304162 ??? Perhpas as a V2.0? (The existing one rocks! Don't keep us waiting for any extras plz!)
Posts: 40
I'll post a FB app update once I have made any improvement to the app, or added G3 support. Any fan of the app should receive those updates on FB.
- Guillaume Boudreau
PS The link you included is just the homepage of the app; i.e. not a discussion thread link.
Posts: 573
FYI - I recieved this from Gillaume. I do not really know the app for FB/G2, so I placed a couple of questions. Maybe valid to you too:
Any ideas anyone to grab Image comments from FB and bring them to the Gallery. Afterall it brings life to G3.
all the best
HB - http://www.image.agentura.dk
Posts: 176
@gboudreau: Terribly sorry... here is the link I intended: http://sourceforge.net/apps/trac/gallery/ticket/487
I see your message to hebhansen though ~ I see the Fb API has imposed some restrictions. It might be worth revisiting the Fb API though. I'm not very familiar with it, but I do believe there has been some relaxation of limitations as of late (I have successfully made a backup of my Fb inbox using an app which interfaces the API which was previously impossible)
Importation of comments really would be as great as G3 itself! Will add life to G3 indeed!!
Posts: 40
My answer about comments import was about importing comments from Gallery into Facebook. Which is not possible.
Fetching comments from FB though should be possible, using FQL (Facebook SQL), and the Comment, Photo and Album tables:
http://wiki.developers.facebook.com/index.php/Comment_(FQL)
http://wiki.developers.facebook.com/index.php/Photo_(FQL)
http://wiki.developers.facebook.com/index.php/Album_(FQL)
But from what I know of Gallery comments (I don't use them), they are associated with a user ID (the user when entered the comment). How do you suggest I associate FB comments to un-existing Gallery users? Use a 'From Facebook' Gallery account (that might need to be created manually), and prefix the comment with the FB username?
- Guillaume Boudreau
Posts: 176
@gboudreau: I don't think I can beat that suggestion! A 'from Facebook' account with a Fb user prefix sounds ideal.
I greatly appreciate your contribution (as do many other I am sure)
Posts: 573
Fetching Comments from FB and adding to Gallery is very much on my wish list
User structure as proposed above seems good
all the best
HB - http://www.image.agentura.dk
Posts: 12
Can't agree more. Gboudreau's suggestion is first rate and returning comments from Fb will be absolutely amazing.
I'd opt for a standard version like the previous one first though... would hate to be left behind with G2 while Mr Boudreau works his magic (assuming he might be willing to make such a plugin later)
Posts: 176
What are the chances the Fb app will respect G3 permissions????
Posts: 40
If you're talking about the app not allowing import into FB of pictures that are not visible to anonymous users, that's already done.
If you're talking about the possibility to enter a G3 username and password in the FB app, and being able to import all the pictures that this G3 user sees, then I'd say the chances are 50% or so. I don't use that feature (same as G3 comments), so those features are at the bottom of the priority list.
- Guillaume Boudreau
Posts: 12
G3 user specific image access would be useful for my application ~ I run a social networking gallery for my university unicycling team along with my own personal photos. This would allow me to properly implement user specific albums on G3 as well as allow members access to the G3>>Fb plugin...
But by all means... bottom of the priority list
Any chance you could update us on the progress? (Cannot help but ask!)
Posts: 40
No progress. As I said, I need an operational G2 Import module for G3 in order to get my Gallery upgraded to G3 before work can start.
I'm monitoring the commits for the module, but nothing has changed since Nov-19: http://github.com/gallery/gallery3/commits/master/modules/g2_import
- Guillaume Boudreau
Posts: 27300
It works for me and a LOT of other people, so I suggest you start a thread with your issue, perhaps we missed it.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 40
It's not that it's not working.
It's that
And by "I can't" what I really meant was "I won't". I'm sure the module works fine for people OK with those limitations, but I have no intention to upgrade my working-fine G2 to a non-working G3 that I'd have to take quite some time to fix (re-create permission, manually find and import all file types that were skipped, ...)
- Guillaume Boudreau
Posts: 176
I too am hesitant to migrate to G3 for two reasons ~ Mr Boudreau has not written a G3>>Fb module yet, and I have 6 gallery users with a combined 20K images... No ways I'm manually fixing permissions.
What are the chances the import module priority can be bumped up? I'm sure the Gallery Team is going to tackle the issue at some point ~ why not sooner such that Mr Boudreau might start work sooner? Two birds, one stone.
Posts: 573
Gillaume... How does this thing work when setup?
Du I select images manualy. Flag them or something for FB display.
Will it grab entire albums and only that
Will it copy everything to fb
Can I select no no images and albums (wife's boobs fx)
How are they sorted at FB
Mirror of gallery and structure
Can I put "flag'ed" images in one album at fb - even if they live seperate in Gallery
What happens when that album at fb hits the ceiling (200 images) - Manual intervention or create another album?
all the best
HB - http://www.image.agentura.dk
Posts: 40
You can try it yourself easily.
Just go on Facebook, add the Gallery Import application to your account, and use my gallery URL to try and import stuff: http://gallery.danslereseau.com
The 1st step of the application has instructions on how to setup the thing on your Gallery install (which you obviously don't need to do, since I already did those steps on my own Gallery).
Cheers,
- Guillaume Boudreau
Posts: 573
In case I don't want my gallery on other people's profile, can I limit that open approch...
all the best
HB - http://www.image.agentura.dk
Posts: 573
<quote>
You can try it yourself easily.
Just go on Facebook, add the Gallery Import application to your account, and use my gallery URL to try and import stuff: http://gallery.danslereseau.com
The 1st step of the application has instructions on how to setup the thing on your Gallery install (which you obviously don't need to do, since I already did those steps on my own Gallery).
</quote>
I get this error using your url
Error: the export_fb.php script needs to be in a 'fb' subdirectory of your Gallery installation. Example: http://www.domain.com/gallery/fb/export_fb.php
all the best
HB - http://www.image.agentura.dk
Posts: 40
No, not at this time. Only public pictures can be imported using my app.
As I mentioned previously, I don't use anything else than public pictures myself, so adding support for pictures only visible to specific Gallery users is at the bottom of the priority list.
The complete URL to use, as stated in my example, is the Gallery URL, suffixed by '/fb/export_fb.php'. So for my Gallery: https://gallery.danslereseau.com/fb/export_fb.php
- Guillaume Boudreau
Posts: 176
I see the roadmap for RC1 has makes no mention of working towards importation of permissions... ***Greatly saddened***
Posts: 573
I think the code team is under preassure as it is. For sure they could use more hands...
all the best
HB - http://www.image.agentura.dk
Posts: 16504
The permission systems in G2 and G3 are totally different. In G2 you were allowed to assign permissions to users as well as to individual photos. In G3 you have to put users into groups, assign permissions to groups and permissions can only be set on albums. So if you have a performance degrading setup with tons of permissions on users and individual photos it's not going to map into G3 with any sort of ease.
Someone could create a 3rd party module for G3 to extend the permissions to photos and user at the cost of performance and simplicity, but it's not going to be in the core product.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 27300
That is for sure!
Waiting for a development of a core feature on the development of another feature is not a good practice in my opinion. A test G3 install can be used for development before G2 items are imported.
It might be some time before the core team gets round to gboudreaus request for permissions to be imported. So, I guess that if that does not happen soon, then some other developer will have to be found for this feature or develop the feature that gboudreau needs to continue development of the face-book module.
There is only so much time available for this volunteer project, so if you need a feature you have 2 options:
1. Develop the feature you want yourself
2. Find a developer to do it for you.
FAQ: What about feature X? It's really important to me!
We wish we had more time for implementing features that some people want but when you only have a little time each day to work on a hobby project that you do entirely for fun (read: zero money), you have to prioritize your time carefully. There are lots people who are helping out in the forums actually making the project go faster by contributing, but there are very few people who are actually writing the code and doing the design work. If you'd like to see it sooner, help us. That's the only way it's going to happen sooner.
So create a fork and start working!
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 176
Mr Boudreau ~ I cannot code in php but I can click a mouse... How may images in your gallery, and how complex your permissions? (I.E. Majority album permissions or individual photo permissions)
Posts: 176
Mr Boudreau... another feature I've just though about which would be amazing:
Import to Fb from tags... I.E. I might want to import images tagged "holiday-to-france" into my appropriate Fb album... or even import images tagged with a "temporary-tag" for immediate upload...
My motivation has come now as I wish to import images of my little sister (contained in many different albums) over the years into a Fb album for her 21st birthday...
(and plz plz plz let us know when you're starting... Core coding team is busy splitting hairs over other things to meet your demands. Please we need you!)
Posts: 176
Mr Boudreau... Don't want to pester you but any news on G3 >> Fb ???
Posts: 40
There is news, but it's bad.
There no way I can re-use the existing PHP script I had that lists albums and photos information (export_fb.php) in a Gallery 3 install.
That means I'd have to learn how to write a Gallery 3 module, then struggle to write one that do such simple things.
If you can find a G3 developer that could write such a thing, I'll give him specs on the output format the FB app needs, and that should be easy to integrate from there. I'd guess this wouldn't be very long or hard for someone who has knowledge of the G3 code base.
I have no intention to take time to learn and code a G3 module myself, since I have no intention to upgrade my Gallery2 install.
Sorry about the let down.
Cheers,
- Guillaume Boudreau
Posts: 176
The man to chat to is rWatcher ~ He's the G3-Module-Guru!! (He has contributed to this thread towards the top) I will send him a PM and I ask if you could do so as well (I'm an advanced end-user and will only able to express huge desire to see this aspect of gallery realized!)
Posts: 12
Come on lets interface with the biggest social networking networking platform there is! I got over 112 comments on a photo I posted on my Facebook account and 1 on gallery! Images on Fb with links back to the original hosted with G3 will greatly increase exposure to your awesome product!
Posts: 573
I agree
all the best
HB - http://www.image.agentura.dk
Posts: 573
Should the images just embed in what seems to be an FB album? and not upload.... For me the FB Compression thing messes up my images to an extremely low jpeg. Both size and compression.
This would save us the concern right to use issues and it would save FB the HD requirements
all the best
HB - http://www.image.agentura.dk
Posts: 176
If I understand you correctly Hebhansen then in answer to your question - no... The proposed plugin would actually be for Fb and would allow Fb to import G3 albums for storage (compressed) on the Fb server.
The reason this is so convenient is that we have FTP access to our G3 servers and can keep our high res images safely there while allowing friends and colleagues to easily and conveniently view our photos... The Fb plugin imports the albums from G3 with a few clicks and is fast! Much faster than manual upload to Fb!
Our problem at the moment is will to write the Fb plugin that will interface with G3... You jumping on the wagon with us?? ~ Perhaps you could read Gboudreau's last post on this thread...
Peace out...
Posts: 573
I read the entire thread. Just filling in wishfull thinking if anyone with skills show up
all the best
HB - http://www.image.agentura.dk
Posts: 40
If you just want to display thumbnails and link back to the original photos you have in your Gallery in a Facebook page, you can't use FB albums for that.
But you can use a FB application that does this.
I think someone posted one in the same thread I originally posted my FB app into.
- Guillaume Boudreau
Posts: 722
Okay, I've written up a module that I _think_ does what your "export_fb.php" script does, but with G3. However, the module URL is different from a stand-alone script, so the facebook app is rejecting it. Example:
http://eric2001.brinkster.net/gallery3/index.php/export_facebook/export_fb?a=albums
I tried modifying it so that it would look more like a php script, but that was still rejected by the facebook app due to the different directory. Example:
http://eric2001.brinkster.net/gallery3/index.php/export_facebook/export_fb/export_fb.php?a=albums
Any suggestions?
Posts: 176
Hey rWatcher.... My faith in the G3 community has been restored! I can't wait to contribute something myself! Gonna PM gainsford ~ I'm sure he too is going to crack a lip smiling!
Thanks for the effort... Hopefully Guillaume will be able to make some tweaks to the Fb app...
Posts: 40
Nice work!
FB app modified to allow the 1st URL, i.e. http://eric2001.brinkster.net/gallery3/index.php/export_facebook/export_fb
Step 2 seems to work fine. Albums are listed correctly.
Step 3 was missing the thumbnails to the photos, and the link on the thumbnails was wrong. Fixed too.
Step 4 had the same problem as step 3. Fixed too.
Quick Q: The export_fb.php script exports the summary, keywords and description, when they exists (for photos). Does your module do that too? The photos I imported didn't have them.
Quick Note: your module suffers from the same bug as my export_fb.php script: for ?a=albums, it counts albums as photos in the # of photos per album. For example, the "Test-Album" album contains 5 photos and one sub-album, so it should say it contains 5 photos, not 6. I still need to fix export_fb.php for that too, but since you're in your module already, might be a good idea to change that now.
Once you publish your module, just give me the URL I can link to in the FB app to point the users to what they need to install.
Cheers. Thanks for your time.
- Guillaume Boudreau
Posts: 573
Promising work Rwatcher and Gillaume. Is the module ready for pilottesting and where can it be found in that case.
Gillaume:
Will you support the G3 solution from the FB Group?
what is required for this to work?
App for FB, same as for G2? and a contrib module G3?
Rwatcher - do you have any idea at all why none of your modules work in the 3nids theme? Calender,Updates,Contact and assumably this one as well? Nobody seems to pay attention to that issue, so I took my chance here. thanks for lending the thread...
all the best
HB - http://www.image.agentura.dk
Posts: 40
Gallery Import FB app already supports the above module. As soon as it's published, you install it, and follow the instructions for Gallery 3 in the Gallery Import FB app.
As always, if you have issue with the Gallery Import FB app, you should ask / comment in the FB discussions page.
- Guillaume Boudreau
Posts: 722
It does now. G3 doesn't have a "summary" field, so I left that one empty, and I set it up to use tags for "keywords" (if the tags module is active, if it's not then keywords will be empty too).
Fixed I also further limited it to only displaying publicly viewable albums and photos as those are the only one's the facebook app can actually import.
I've attached the module to this post, and uploaded it to my github account at:
http://github.com/rWatcher/gallery3-contrib/tree/master/modules/export_facebook/
Be aware that this module will not work with Beta 3, anyone who wishes to use it will need to upgrade their gallery to the current version in git.
Also, I've set up a codex page for this module here:
http://codex.gallery2.org/Gallery3:Modules:export_facebook