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

  • Home
  • SEARCH
  • 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 519937
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T08:05:34+00:00 2026-05-13T08:05:34+00:00

i am starting on a php based facebook app. the documentation at facebooks developer

  • 0

i am starting on a php based facebook app.
the documentation at facebooks developer page is quite confusing.

i have chosen the iframe method for rendering the canvas page. i have made my app in php and is hosted on my server. now the app loads fine in apps.facebook.com canvas. but the thing is I am unable to make API calls work.

what i wanted to know is how to transform the xml/JSON data received from the api calls to valid user-readable data. i mean friends.get gives me a bunch of uids. now how to make them appear as valid user profile image thumbnails or links?

i am very new to this. so any help would be appreciated. i just need to know how to work with the facebook API.

  • 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-13T08:05:34+00:00Added an answer on May 13, 2026 at 8:05 am

    I would suggest using FQL instead – building your FQL queries will help you understand much more what goes on in FB under the hood as well plus if you are good in SQL you can combine multiple queries to give you friends pics and their IDs from diff tables in one resultset…

    Use the FB fqlquery function call and pass your required column names there – e.g. you can see your stream from the following table: http://wiki.developers.facebook.com/index.php/Stream_%28FQL%29 and you can issue queries according to the examples given here: http://wiki.developers.facebook.com/index.php/Fql.query

    e.g. this gives me the newsfeed from stream table, for all my friends (only):

    $logged_in_user = $facebook->get_loggedin_user();
    select source_id, post_id, message, likes, created_time, updated_time from stream where source_id in (select uid from user where uid in (select uid2 from friend where uid1=' . $logged_in_user . ')) and filter_key=\'nf\' order by updated_time"
    

    You can query the User FQL table for the picture URLs of your friends and display those URLs in image containers of the frontend lang of your choice: http://wiki.developers.facebook.com/index.php/User_(FQL)

    Use the Console for testing your queries: http://developers.facebook.com/tools.php

    And use the MultiQuery http://wiki.developers.facebook.com/index.php/Fql.multiquery later when you are more comfortable using FQL queries

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

Sidebar

Ask A Question

Stats

  • Questions 293k
  • Answers 293k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Have you posted this in the DSL Tools forum at… May 13, 2026 at 6:24 pm
  • Editorial Team
    Editorial Team added an answer This is what you need to test your service public… May 13, 2026 at 6:24 pm
  • Editorial Team
    Editorial Team added an answer Since you are not interested in keeping any data, drop… May 13, 2026 at 6:24 pm

Related Questions

I come from a PHP based background and my new years resolution was to
I need to write some code in PHP that performs an action only on
I am looking for the simplest way to get notified when successful installation of
I know that there are a lot of discussions already on SO about SOAP,
I am a fairly new MySQL developer and am starting on a project that

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.