Coder Social home page Coder Social logo

Comments (4)

dejanstojanovic avatar dejanstojanovic commented on September 22, 2024

Hi,

In case you want to access photos of the user who visits your page, you need to create Facebook App and give it special permissions to access account photos. this will require you to send for approval from Facebook. It will take some time until they approve it and they will ask for a bunch of proofs that you are not going to use this as a malicious website. I did it once and it was hell :)
Finally when you get your app approved you need to obtain a token when user allows your app to access his account. Try to get approval for your fb app first and the rest is easy :)

from facebook-album-browser.

danielemesh avatar danielemesh commented on September 22, 2024

Are you sure? Maybe things have changes since you did it? I sure hope so... :(
In the Facebook tutorials they didn't mention it.. only the use of user_photos permission when a user logs in to the app. And that way I do have access to the photos, I can query them.
BTW I do get the albums of pages such as the natgeo and others when using your access token (the one in the example), but when I am trying to use my token it doesn't work, even for pages...

from facebook-album-browser.

danielemesh avatar danielemesh commented on September 22, 2024

Just realized you were right! Nightmare...

from facebook-album-browser.

dejanstojanovic avatar dejanstojanovic commented on September 22, 2024

You will get it eventually, it just takes a lot of time and nerves especially if you have a deadline and you haven't encounter this :)

from facebook-album-browser.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.