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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T06:22:01+00:00 2026-06-06T06:22:01+00:00

I am trying to retrieve each photo album from facebook by using php. I

  • 0

I am trying to retrieve each photo album from facebook by using php.
I have user_photos and friends_photos permission. I manage to retrieve all albums and their photos but I cannot retrieve any photos that are tagged by friends.

I am quite new to facebook apps. Can anyone tell me how do I retrieve all the tagged photos?

Thanks a lot.

  • 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-06T06:22:03+00:00Added an answer on June 6, 2026 at 6:22 am

    Your best solution is probably fql.

    SELECT pid FROM photo_tag WHERE subject=$uid
    

    will give you a list of photos where the tag is of a person. So you need to say “give me the people” then “give me the photos they are tagged in” and then “give me the albums (if you have permissions). Now you could to that in one query using the multi-query option (http://developers.facebook.com/docs/reference/fql/)

    Easiest way of running FLQ is using the facebook PHP SDK:

    $result = $facebook->api(array( 
        'query' => "SELECT pid FROM photo_tag WHERE subject=$uid",  
        'method' => 'fql.query')); 
    

    But you can also run using graph

    'https://api.facebook.com/method/fql.query?query=' . urlencode("SELECT pid FROM photo_tag WHERE subject=$uid")   (remembering to add the other parameters)
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to retrieve all cards from Mongoid that have request=preview I'm doing
Iam trying to retrieve data from mysql database into stylesheet.php but it is not
I am trying to retrieve this page using curl in php. This page of
I'm trying to retrieve images from a folder using glob() and i want it
I am trying to retrieve the values from the following url: http://rentopoly.com/ajax.php?query=Bo . I
I'm trying to retrieve link text from an HTML file. Each of the link
I am trying to retrieve and store ID's for each item retrieved from my
I'm trying to retrieve a user object from a foreign key reference but each
I am trying to retrieve JSON data from an external text file using a
I have been have issues trying to retrieve the values from a treeMap that

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.