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 8695907
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T01:09:13+00:00 2026-06-13T01:09:13+00:00

For an Android app, I’m trying to get some info of a specific user

  • 0

For an Android app, I’m trying to get some info of a specific user (using its user id) on Facebook using FQL, and also get a high quality image of the user.

This means I have to use both the “user” table and the “photo” table.

Currently, the queries are:

SELECT first_name, last_name, status, current_location, uid, pic_square, pic_big, website, work, email, contact_email, current_location, sex, birthday_date 
FROM user 
WHERE uid in (%s) order by name

SELECT src_big,owner 
FROM photo 
WHERE aid IN (SELECT aid FROM album WHERE owner=%s AND type=\"profile\") LIMIT 1

The first one returns all of the info of the specified users, and the second one returns the src_big of a single user. Is it possible to do inner join and do them both in a single query?

EDIT:

It seems that inner join is still impossible for FQL. However, I still wish to ask something about this: how do I change the second FQL statement to show multiple results, as used in the first FQL statement?

  • 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-06-13T01:09:14+00:00Added an answer on June 13, 2026 at 1:09 am

    Yes, an FQL multiquery doesn’t give you the ability to select one item per user in the result. Your second query will give you just one item. You would need to get all photos from all users in FQL and then filter them in your app, or make a separate API call per user.

    You can do this with the Graph API using field expansion. Your query endpoint will be:

     /?ids=UID_1,UID_2,...,UID_n&fields=name,id,...,photo.limit(1)
    

    Since you’re using the fields parameter, you will need to individually declare each field you want in your result.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My Android app is trying to urge a user to upgrade a particular app
My Android app sends/retrieves data to/from the user's own PC using HTTP and it's
An Android app project is using two library projects as dependencies, Each of the
My Android app consists of a simple tablayout (3 tabs). Let's say the user
My android app works on landscape mode. I have a listview that contains some
I have written an Android app (target 3.2) using Eclipse 3.7, I tried to
My Android app stopped working on Friday. For some reason it's not being updated
My android app is supposed to go through twitter using twitter4j libraries, and return
My Android app stores its SQLite database on the SD card, so that when
My Android app, which uses a TabActivity to display its contents, has 4 tabs

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.