aiaio / galleria-facebook Goto Github PK
View Code? Open in Web Editor NEWDisplay Facebook Photos on Your Website with Galleria
Display Facebook Photos on Your Website with Galleria
Facebook Graph API returns the following JSON when retrieving album.
/**/ jQuery111205592851671390235_1427392673346({
"error": {
"message": "Unsupported get request. Please read the Graph API documentation at https://developers.facebook.com/docs/graph-api",
"type": "GraphMethodException",
"code": 100
}
});
Hi,
Thanks a ton for the fantastic plugin. I am running into this issue, where it does not allow us to load more than 100 images from the album. The album has more than 170 pics & i am setting the max value in face book options to 500. I tried 150 & 200 too but it did not help.
facebookOptions: {
max: 500,
facebook_access_token: 'token_val'
}
in order to make sure this is not an inherent issue with galleria itself, I tried to change the max value to 200 in their flickr plugin & it loaded 200 images successfully. As mentioned here in the link:
http://support.galleria.io/discussions/questions/14959-max-photos-100
flickrOptions: {
// sort by interestingness
max: 150,
sort: 'interestingness-desc'
}
You can try out the same with this sample FB Album: https://www.facebook.com/media/set/?set=a.157110611120090.1073741826.156117531219398&type=3
Please let me know what to do, in order to load all the images from the album.
Thanks in Advance,
Unable to retrieve Facebook photos from album xxxxxxxxx
see on your demo too
http://www.gagacenter.com/nyc/gaga-photos/Adult%20Gaga/3/
Hi everybody,
I have activated the backlink to facebook on the pictures but i would like choose the target _blank to open a new window. But i can't find the solution with the new version of galleria-facebook.
Please can you help me?
Is there a way to get the plugin to work with group albums as well?
Hi,
Everything works fine when I run the code in a test page:
However when I try to run the in the intended document I get ‘Fatal Error: Stage width or height is too small to show the gallery. Traced measures: width:400px, height:19px.’
The value of 19 pixels shows up regardless of the value for height (or width) set in the script, and I can’t find a statement anywhere else in my code that sets a value of 19 for anything.
The attached shows the result of placing the
OK, just spent the day getting this not to work.
I have downloaded all the updates, including re-edited the facebook.js file to the 2015 updated version, that's not in the facebook plugin download.
I've mirrored coding from
http://www.gagacenter.com/nyc/gaga-photos/Tour%20the%20New%20York%20Facility/1/
to ensure that all works, using someone elses coding/ and Facebook api access (thank you)
But as soon as I switch to my own album: and facebook_access_token.... well I get
Unable to retrieve X Facebook photos from album 10154274827845896
(I added the X in the error message)
I created a fully local working version using Kids Gaga web page to make sure it wasn't a local issue - This all works fine.
But cannot get Facebook Token to work, and cannot get images to load.
Noticed that Facebook api is now version 2.8, and the facebook plugin is 2.3
Here is the working and none working version of the basic script...
http://clientswebsite.co.uk/assets/galleria/themes/classic/classic-demo-Facebook-TST.php
hope you can confirm its a FACEBOOK token issue?
and a work around for this
With thanks in advance
Clive
I'm working with a website using Galleria and there is absolutely no output to the website. Not a gallery, not an error, nothing. Before I updated the scripts it was pulling in the images, but now nothing. I've tried manually retrieving the data using this method (https://graph.facebook.com/ALBUM_ID/photos?access_token=ACCESS_TOKEN) and I get good results.
Any suggestions?
It is possible to show the caption (the comment added with the image) in the gallery ??
It would be nice if this plugin allowed the user to like the photos they are seeing directly from Galleria.
Hey guys! I left this comment in your website (alexanderinteractive.com) a month back. I'm really trying to find a way to call the Fb album’s cover photo to be the first photo of the gallery (sort of like a cover photo as well, as it’ll be displayed foremost)?
Because I’m seeing the Fb graph query in the JS file doesn’t call for the “cover_photo” field. So I’m trying to tweak it by inserting that call but I can’t figure out where I would have to insert that cover photo so that it becomes the first photo in the pile, as it were.
Any ideas how? Perhaps this could even be a feature available in a future release.
Anyway, great work!
I have a website that uses the galleria-facebook plugin. It was working fautlessly until yesterday but now all the galleries are restricted to 25 photos regardless of the settings i use in the script... Any ideas why this might be?
You can see the site here: www.retropower.co.uk
I wanted to share this more along the lines of information rather than an issue, but it appears after quite a bit of trial and error that there is no way to import albums that are part of a facebook group. The breaking point appears that there is no exposed album_id for these albums. I would love to be proven wrong, but for my purposes I'm looking at migrating away from groups and instead to use pages.
The paging was changed in the graph-syntax. Please change galleria.facebook.js.
Change:
var url = 'http://graph.facebook.com/' + params['album_id'] + '?callback=?' + '&fields=photos.fields(images,source,picture,link,name)&photos.limit=' + this.options.max;
into:
var url = 'http://graph.facebook.com/' + params['album_id'] + '?callback=?' + '&fields=photos.limit('+this.options.max+').fields(images,source,picture,link,name)';
This worked fine yesterday, suddenly this notification appeared, I fear facebook may have done something within their system which renders this plugin not working anymore.
Hi
There seems to be a limited of how many facebook images get pulled in to 100. Can I increase this limit?
Thanks
Hello everyone!
Can i add custom image like 'If you want to see all photos from album click here'?
I'm running into a problem with using the Folio theme. Since the theme is responsive I wanted to remove the Width/Height options. I get an error when I remove those. Can you make this responsive?
I got this:
I generated the token as advised on https://smashballoon.com/custom-facebook-feed/access-token/ but that token doesn't work. Even though i lived the app, it still returns me the same results.
The facebook group's photo album is public: https://www.facebook.com/media/set/?set=oa.1796690780557524&type=1
I placed my App token, in the url below for testing and it doesn't work, returns me nothing.
https://graph.facebook.com/1796690780557524/photos?access_token=[TOKEN}
This is what I got:
{
"data": [
]
}
Am I getting the wrong token ? Please help.
Page albums are still working, but personal albums are unable to be viewed.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.