17

I would like to display my photo albums and photos that are in FB on my own website. However everything I have tried requires an access token that I seem to only get if I login to FB. I don't want visitors to my site to have to login to FB to see my photos.

Is there a way to get this data and not require a login? I want to pull data from my own FB account. Or is there a different way to authenticate my access behind the scenes so visitors don't have to login, to see my photos?

ananth
  • 173
  • 1
  • 1
  • 4
  • If you don't want your users to login, you should upload your photos on a Facebook page. You can retrieve those photos using the FB graph API without login requirement. I've found a very useful tutorial that will help you. See: https://www.codeofaninja.com/2011/06/display-facebook-photos-to-your-website.html – Kris Aug 27 '16 at 04:48

6 Answers6

6

Facebook has recently launched a way to share the album with public without having to Signin. Every album will have link below this key word Share this album with anyone by sending them this public link. Take a look at this HOW TO for more information.

EDIT: However, for embedding refer this SO which explains how to grant permanent access to your photo albums

Another option is using 8 photo restricted Facebook Photo Badge

Showzey seems to be working on liberating your photos and provides widgets.

Community
  • 1
  • 1
Pravin
  • 1,059
  • 8
  • 17
  • i got the library files from https://github.com/facebook/connect-js. Still I cannot get the Albums and Photos from the facebook to display it in my website.. I want to photo and comment of the currectly logged in user of the facebook. I need to Do The same functionaliy described in the following link. http://flavors.me/websolusionz . If You see this page then you can find how the photos and comments are displayed. – ananth May 10 '11 at 08:02
  • The how to link is broken for me. – Fuhrmanator Nov 14 '12 at 03:34
  • Facebook Badge will restrict you to 8 photos. You can try the [Famax plugin](http://www.codehandling.com/2015/03/famax-40-complete-facebook-fanpage.html) to embed all Albums and Photos etc. on your website. – Patrick Apr 06 '15 at 09:18
2

Facebook has a badges page that has different options for embedding Facebook content onto your site. The photo badge should fit your criteria.

bkaid
  • 51,465
  • 22
  • 112
  • 128
  • Photo Badge would restrict you to 8 photos. – Pravin May 10 '11 at 05:53
  • Yes - that is Facebook's limitation. Otherwise you are better off posting photos to a different site like Picasa or Flickr to embed them. – bkaid May 10 '11 at 05:57
  • i want to show the face book photo for the session user, like the functionality in the following link. http://flavors.me/websolusionz#e23/facebook2 – ananth May 10 '11 at 06:35
2

May be this method could help you guys.

Emkey
  • 5,346
  • 8
  • 38
  • 55
1

You can combine galleria (open source javascript image gallery framework) with a plug-in to integrate with facebook.

You can find the links bellow:

http://galleria.io/

http://www.alexanderinteractive.com/blog/2012/03/display-facebook-photos-on-your-website-with-galleria/

Raposo
  • 499
  • 5
  • 4
1

You can do it through a public fan page or a business page.

I put this script together a while back: http://roughgiraffed.com/FBalbum/. Working on a more legit version - will post when complete.

Zach Lysobey
  • 14,959
  • 20
  • 95
  • 149
0

I'm using this very nice plugin for Joomla. Take a look.

Darin Kolev
  • 3,401
  • 13
  • 31
  • 46