Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6780111
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T16:28:01+00:00 2026-05-26T16:28:01+00:00

I am having serious issues trying to use the Javascript API for facebook. I

  • 0

I am having serious issues trying to use the Javascript API for facebook. I currently have a somewhat functioning facebook login, and I want to be able to get all of the photos from the current user, and have them displayed in a strip. I am pretty new to Javascript, so I was wondering if somebody has gotten this to work, or what would be the best way to accomplish this, preferably without using the deprecated FQL.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T16:28:02+00:00Added an answer on May 26, 2026 at 4:28 pm

    There is a 5000 item limit for FQL queries, but that should cover a good amount of the photos you are looking to get:

    var query = 'SELECT src_big FROM photo WHERE aid IN(SELECT aid FROM album WHERE owner = me())';
    
    FB.api('fql', {'q': query}, function(res) {
        console.log(res.data);
    });
    

    Then you can loop through that result set and add the photos to the document (using jQuery in this sample loop:

    var body = $(document.body);
    
    for(var i in res.data) {
       body.append('<img src="' + res.data[i].src_big + '" />');
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am having some serious issues trying to tweak my layout in a table.
I'm having some serious issues with a WinForm application that I'm working on. Currently,
I'm having serious issues trying to get Mechanize to preserve the cookies set by
I am not good with CSS and am having some serious issues. I have
I am writing a webapp in ZF and am having serious issues with UTF8.
I'm having some serious performance issues with a multi-million row table that I feel
I'm having some serious issues using Zend_Lucene and foreign characters like åäö. These issues
Maybe im just an idiot, but I am having serious issues mapping relationships with
I am having some serious pathing issues with a website that I am creating.
We have been having serious trouble getting an application we devlop running with UAC

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.