How to "Import an album from facebook" to my website?

Permalink 1 user found helpful
Hi does anyone know how to import an album from facebook" to my website? with PHP code or a block or something:)


/Mike

mikefatty
 
wagdi replied on at Permalink Reply
wagdi
What about this- http://www.concrete5.org/marketplace/addons/simple-facebook-gallery...

Description:
"An image gallery that displays a public facebook album as a series of thumbnails. You can optionally enable a lightbox effect (the "Fancybox") so that the images zoom out when clicked. The size of the thumbnails and the zoomed images are configurable, as well as the number of columns to display the images in. You can also change the lightbox zooming effect and the placement of captions.

This is the same as Jordanlev's Simple Image Gallery just modified with his permission to allow Facebook albums.

To add an album all you need is the album ID.

1. Browse to your facebook album you wish to add and ensure that it is set to public

2. Copy the album ID which is the set of numbers located after 'set=a' between the two periods e.g

http://www.facebook.com/media/set/?set=a.10150146071791729.324257.2...

When you add a new album or change the thumbnail settings it may appear as nothing is happening however please allow time for the addon to copy the files from Facebook and generate the thumbnails to you local cache. This may take a while if your album has alot of photos.

Please not as of yet it will only work with Facebook pages as these do not require permission from Facebook to access them as they are public.

"
JohntheFish replied on at Permalink Reply
JohntheFish
I think he tried that block, it didn't work for him and no support was forthcoming (forum thread a week or two ago). So he is looking for an alternative way to do it.
mikefatty replied on at Permalink Reply
mikefatty
Hi wagdi

Like John said i tryed it already with no luck, the support is very poor and the addon isn't working :-( thats why im searching for another solution.

Hope someone Can help:-)

/Mike

Ps.thanks for the follower up John :-)
wagdi replied on at Permalink Reply
wagdi
Oh ok.. sorry.. didn't realise you tried that one.

When you say it didnt work.. what happened exactly? Because I tried it before and also thought it didnt work.. but after reading the description, I realised that I was just being impatient.

Its says- "When you add a new album or change the thumbnail settings it may appear as (though) nothing is happening, however please allow time for the addon to copy the files from Facebook and generate the thumbnails to your local cache.
This may take a while if your album has a lot of photos."

After waiting (for what seemed to be forever), it did actually work; It just takes a long time at the first instance.

Can you maybe try it again with an album that has only a few images in it and see if it still doesnt pull the data?
wagdi replied on at Permalink Reply
wagdi
mikefatty replied on at Permalink Reply
mikefatty
Thanks wagdi
well i tryed to import the same gallery for a week now, it can find the thumbsnails and when u press the photo its like a iframe of the site that comes up. i followed it step by step but maybe i shut try and do it like u said: make an album with 3 images and try to wait some days and see what happens.:)


the other solution u send the facebook-album has crosed my mind, but the rating scared me a little, dos it work? (its dosnet look like there are any support??)

/Mike
sully210 replied on at Permalink Reply
sully210
OK, I have this working:http://www.concrete5.org/marketplace/addons/simple-facebook-gallery...
and it actually came up quite quickly. My problem is that it is not responsive and when I resize the images overlap. I found this:http://jsfiddle.net/4W2Bc/10/ and this awesome responsive gallery:http://www.plusgallery.net/ that will work with apparently everything but Facebook. I am going to try and put these pieces together and see what I come up with but don't hold your breath. I have already been trying for hours to find a solution to what should, in my opinion, be an easier problem to solve. If anyone wants to put the pieces together before I do I will gladly purchase an addon that displays all or any Facebook albums, preferably all. I imagine it will take me about 61 months to figure it out given my current experience level. If someone found a better solution, please post a link. Thanks, I will get back to you.
mhawke replied on at Permalink Reply 1 Attachment
mhawke
I was faced with this a while ago and created a block. Expand the attached ZIP file to your local machine and then upload the resulting 'facebook_galleria_photo_gallery' folder to your '[root]/blocks' folder. Then visit 'Dashboard->Block Types' and install the block.

This block was based on this:

http://www.alexanderinteractive.com/blog/2012/03/display-facebook-p...
sully210 replied on at Permalink Reply
sully210
Thanks. I installed it and added it to a page but it has been trying to load for about 40 minutes. Any idea why that may be happening?
mhawke replied on at Permalink Reply
mhawke
Is there a public URL for the page so I can check it out?
sully210 replied on at Permalink Reply
sully210
Sure:http://theclubdowntown.com/index.php?cID=148...

I checked it on all browsers and it works in Firefox, Opera and Safari but not IE or Chrome.
mhawke replied on at Permalink Reply 2 Attachments
mhawke
It works on my IE and Chrome. See attached screenshots. Perhaps a security setting? Try disabling some browser add-ons to see if one is blocking it. Chrome's 'Incognito' mode or IE 'inPrivate Browsing' mode should disable the browser add-ons.
sully210 replied on at Permalink Reply
sully210
Yes. Works in IE InPrivate browsing so must be an addon there. Still not working in Chrome Incognito but it must just be me. I will mess with it later. Thanks for the block and all your help. Have a great day:-)
sully210 replied on at Permalink Reply
sully210
Is there a way to use the Photo Stream instead of a specific album? Say I wanted to use:https://www.facebook.com/theclubdowntown105/photos_stream...
as the gallery? Is there perhaps some way I can change the code to just use this URL? Thanks.
mhawke replied on at Permalink Reply
mhawke
I have no idea. I doubt very much that it would be that easy. To be perfectly honest, I researched and built the Facebook-Galleria block I posted above in response to a client's request and was paid for that work.

You could try this approach:http://www.ampercent.com/facebook-widgets/3062/...
sully210 replied on at Permalink Reply
sully210
Thanks again. I actually found the line in the .js file and it directs to: var url = 'http://graph.facebook.com/' + params['album_id'] + '?callback=?' + '&fields=photos.fields(images,source,picture,link,name)&limit=' + this.options.max;
I tried to change that to the URL for the stream and have tried every variation I can think of. Nothing Worked. I will toy with it later and if I come up with an answer I will post it.
mhawke replied on at Permalink Reply
mhawke
Please don't spend too much time just changing the URL where it grabs the photos. I'm sure it need an entirely different JavaScript back-end to make it work with the Photo Stream.
sully210 replied on at Permalink Reply
sully210
OK, thanks. I just did a workaround and put all the albums on their own page. Thanks again for the help.
mhawke replied on at Permalink Reply
mhawke
I have pages that contain as many as 4 independent Galleria blocks on them. Did you have problems putting more than one gallery on a page?
sully210 replied on at Permalink Reply
sully210
I didn't put more than one album on a page. I put galleries on their own sub page (4). The page is here:http://theclubdowntown.com/index.php/gallery/...
It's better this way but I have to manually build a page each time they add a new gallery. Not that big a deal but still more work.
mhawke replied on at Permalink Reply
mhawke
Glad it's working. The word 'workaround' confused me. I wasn't sure what you were trying to work around.
sully210 replied on at Permalink Reply
sully210
Well, I really wanted something that would just show the entire stream, or show the albums as thumbnails on one page with the actual albums on sub pages. This works for now. Thanks again.