Open dejanstojanovic opened 9 years ago
www.decimart.com. I use the script in my facebook page. How can use in my personal facebook account?
Thanks a lot
There is a way, but it is a bit complicated. You need to register a Facebook app and then this app needs to be allowed to access account photos. This needs to be approved by Facebook, I mean the app. Then when it is approved you need to allow app to use your account and you will get the token. Then you use that token in plugin to access. You can play around with test FB account to make this work before you make request to Facebook to enable photos permissions for your Facebook app. Here is an article where I described how to use test accounts for testing FB app http://dejanstojanovic.net/jquery-javascript/2014/november/testing-facebook-apps-with-special-permissions/
Hello Dejan! Thanks for sharing your script. It is really amazing and CSS customisation is really powerful...you can do what you want with is. Congratulations I'm a newbie of php, CSS, html, but I have solid programming bases.
I'm working offline at the moment and I have a problem with my AcessToken. With your token widget works perfectly,but with mine it don't download images (I need images from a PAGE, NOt an USER). I've made a new app with "manage_pages" permission; I received my tokens, both short (like your one) and long (something like 50char long) versions. I tried to use them but they don't work. The strange thing is that if I make a direct https request with ID and token it works! I have my answer with my album list and so on. I am not able to debug and display error messages (I don't know how to do it).
Do you have any idea?
Thanks, Lorenzo
Have you followed the steps listed on the project page? A lot of people were complaining that they are not able to use the script because of new tokens rule introduced by facebook, so I asked some people who managed to do it to share those steps. Other thing you can check re the permission on your page itself. I have a feeling that some permission is not set there.
Still it is weird that it works direcly and does not work in a plugin, because plugin does the same thing, it just rendering the result. Check network requests from the browser and try to make the request to the same URLs to see what is happening.
Let me know if you still have the problem
Hi, Thanks for your reply. I think I have found the problem.
You should have an older app version. Mine is 2.4. The problem is the answer gave from facebook is really different. Newer version forces you to specify fields needed (id, count, cover_photo) and that isn't a problem cause you just change link to "?fields=FIELDS&access token=" and it works. Another difference is new answer include a maximun of 25 "informations" (pictures or albums). The best solution is to use iterators gave from facebook (I have to try but I think I'm not able..). At the moment I overrided it by adding a custom maximun limit "?limit=NUMBER&fields=FIELDS&access token=" ....but it seems it is a buggy solution.
During my tests I just forced variable "invokeUrl" to the links needed. Next days I will try to change the code and I hope to post it, or send it to you!
Anyway I have found a simply way to create a permanet token for any app: http://logicum.co/getting-a-facebook-page-permanent-access-token/
Lorenzo
EDIT I'm sorry, I didn't see your code already includes "paging" to load more than 25 albums/photos. I need just to change links adding "fields" to load necessary data.
To see my usage of the plugin, click the button with the small Facebook icon inside the picture frame. You'll need to login with facebook first and then you'll be promped with albums browser.
www.i2robotics.org in the gallery tab
Hey! Thanks. I did the step to show my personal galleries. I got my App id and my App Secret. Which are the next? I dont understand very well the steps, sorry.
Thanks and regards
HI! as I promise I'm using it here http://artphotos.kz/albums
I'm doing this site absolutely for free and non profit
And on this page http://artphotos.kz (you should scroll down to last slide) there is link to Dejan)
No problem man, you can use it even for commercial sites, it is free :)
@timracer wow man you really made it look awesome on this website :+1:
Thx dude!
Hello again!
And again thanks for your plugin.
Is possible put the each name folder over image folder? My users (phone) said me that they can not see the name folder if not click into the image
best regards
Great stuff, thanks!
Two questions: 1- Can this be made to work inside a specific column, like in the 'photos' tab here: http://www.threeplaygrounds.com/adventure/6d5n-roundtrip-manila-laguna-taal-batangas-manila/40
2- In our case, each event has one photo album on FB: I'd need to programmatically associate these two, so on the event page exactly that photo album is shown. Is there a way to do this?
Thanks a bunch.
Any comment on this?
Also, one other question: Does this work also for FB pages? FB groups? Or only personal FB accounts?
Also interested in contracting out work for this.
Works with Fb pages and personal accounts i dont try with groups but most be work if you change to public the álbums to show only need create a Facebook app to mate it work
El 02/09/2016 23:51, "brittahummel" notifications@github.com escribió:
Also, one other question: Does this work also for FB pages? FB groups? Or only personal FB accounts?
Also interested in contracting out work for this.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/dejanstojanovic/Facebook-Album-Browser/issues/13#issuecomment-244526673, or mute the thread https://github.com/notifications/unsubscribe-auth/ARjF_8nvs8fZPpgQYZ0Gz7Bf1EAIDx_lks5qmPzjgaJpZM4E4flH .
Hi dejanstojanovic
in a previous comment you said to use on a precise personal account of a permissions of Facebook, also said he has an article that you have created yourself talking about for FB test accounts, but the link is not charging, I would to take a look, is to provide me with a new link to the article?
I put your code on my site and it works ok, but when I change the parameters: Account
and accessToken
nothing happens even if the data is a public page.
Example: Account: devolvameupais
Give me one there help!
I need to do exactly what you did with the account: natgeo
.
Thank you very much.
Waiting for answers.
I am using this plugin in the following domain: http://photos.rafaelscarvalho.com.br/
Note:
Sorry for the English half jumbled, it is that I'm using google translator.
Hi @silvacarvalho, my apology for late response, I have kind-a abandoned this project for some time. I noticed as well that there are some issues raised in the meanwhile. I will try to go through all and come up with step by step explanations for all
@dejanstojanovic, you do not have to apologize, it's great. Waiting for a step by step. Thank you for responding.
@dejanstojanovic, I too anxiously await step by step. Thank You
Love your plugin thanks so much. I've been using it on our nonprofit's website: http://asec-sldi.org/our-impact/news/
I'm having an issue with it right now but typically it's working on the indiv. news when you click to read a story (if the story corresponds with a fb album of pictures). It's been awesome! Hopefully I'll figure out what's going on so you can see it working :)
I used in a project of mine that is in this link: site I just had a problem with the quality of the images...
I'm using it in: http://barbacoaelcarnalito.com/#galeria
Hi! Can you help me please. When I click on album I need open fotos from album on other page(target_blank). I try use function window.open(response), but doesn't work it. Thanks a lot!!!
Hi,
I am using it in https://www.iisb.co/gallery.html
I have an issue where only 111 albums are shown. No new albums get displayed. Is there anything I can do to increase the number? Or am I doing something wrong?
Imran
http://jamiescakedecorating.com.au/kids-cakes/
including all the other pages under gallery.
I believe Facebook Album Browser is broken now due to the new facebook API.
Please, feel free to add URL where you are using this plugin. It would mean a lot to me to know where it is used, to see how it works and maybe give me an idea what can be improved in order to better fit in to various websites.
Thank you all in advance