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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T08:36:49+00:00 2026-05-30T08:36:49+00:00

In my -request:didLoad: delegate method I’m NSLog ing the results but I can’t figure

  • 0

In my -request:didLoad: delegate method I’m NSLoging the results but I can’t figure out what’s the content?

It looks like result is an NSArray but what is inside it? how do I parse the data?

A sample of the log looks like this:

result: (
        {
        "fql_result_set" =         (
                        {
               uid2 = 1234567;
            },
                        {
                uid2 = 12345678;
            }
        );
        name = queryID;
    },
        {
        "fql_result_set" =         (
                        {
                "birthday_date" = "05/12/1987";
                name = "John Doe";
            },
                        {
                "birthday_date" = "03/01/1978";
                name = "Jane Doe";
            }
        );
        name = queryBirthday;
    }
)
  • 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-30T08:36:50+00:00Added an answer on May 30, 2026 at 8:36 am

    The Facebook iOS tutorial, in "Step 6: Using the Graph API", says

    Note that the server response will be in JSON string format. The SDK uses an open source JSON library https://github.com/stig/json-framework/ to parse the result. If a parsing error occurs, the SDK will callback request:didFailWithError: in your delegate.

    A successful request will callback request:didLoad: in your delegate. The result passed to your delegate can be an NSArray, if there are multiple results, or an NSDictionary if there is only a single result.

    In your example, everything printed by NSLog inside "()" is part of an NSArray, while everything inside "{}" (which also have keys incidentally) is part of an NSDictionary and therefore accessible by key (name).

    http://developers.facebook.com/docs/mobile/ios/build/

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

Sidebar

Related Questions

request.url returns me this : http://localhost:3000/page?foo=bar . Is there a method I can call
To request some data from a web server, we can use the GET method,like
Request[key] vs Request.Params[key] vs Request.QueryString[key] Which method do you seasoned programmers use? and why?
The request I sent is accept gzip but the response is not compressed, instead,
The request is a simple one, but is hard to google for. Here are
The request channel timed out while waiting for a reply after 00:00:59.9970702. Increase the
How can I request a random row (or as close to truly random as
Request.Form[key] has a hashtable-like interface, but I doubt that's how it works. Is there
if request.method == 'POST': userf = UsersModelForm(request.POST) username = userf.data['username'] password = userf.data['password'] passwordrepeat
i can parse data and see the output also but i am not able

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.