Take the 2-minute tour ×

I'm designing a website in which I want to display pictures from a certain user's Facebook albums. I have the FB Javascript API implemented, but I can't figure out how to login to an account with a predetermined username and password, rather than showing a popup asking the user for credentials.

Can anybody point me in the right direction?

share|improve this question

closed as not constructive by Brian Roach, Jocelyn, animuson, chmullig, nandeesh Dec 16 '12 at 6:13


What's with the downvote? I see complete legitimacy in the question. –  The Kraken Dec 16 '12 at 0:37

1 Answer 1

up vote 0 down vote accepted

You don't do this via the JavaScript SDK. It's client-side, which would mean you'd basically be giving access to that account to all of your users.

You need to pull this server-side, with an access token for your Facebook user.

share|improve this answer
That seems to be what another question indicated as well. Thank you. –  The Kraken Dec 16 '12 at 1:03
