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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T06:40:01+00:00 2026-05-16T06:40:01+00:00

I got Facebook Connect working and all and it’s loading up the user’s friends

  • 0

I got Facebook Connect working and all and it’s loading up the user’s friends list with perfection. So now I have the logged in user’s UID and the friend’s UID. How would I go about calling their users.getInfo method from the SDK? The example below is what they give me to set a status, but I don’t know how I can transform it to work with what I need. Especially the NSDictionary part. Please help!

Example Code –

NSString *statusString = exampleTextField.text;
NSDictionary *params = [NSDictionary dictionaryWithObjectsAndKeys:
                           statusString, @"status",
                           @"true", @"status_includes_verb",
                           nil];
[[FBRequest requestWithDelegate:self] call:@"facebook.Users.setStatus" params:params];

Thanks for any help!

  • 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-16T06:40:03+00:00Added an answer on May 16, 2026 at 6:40 am

    According to the documentation at http://github.com/facebook/facebook-iphone-sdk you have to use the old API calls and the Facebook Query Language (fql) to pull information via the SDK. So you’d have to identify what information you want (or pull in a bunch and separate).

    Here’s the example they give to pull a user’s name.

    - (void)getUserName {
        NSString* fql = @"select name from user where uid == 1234";
        NSDictionary* params = [NSDictionary dictionaryWithObject:fql forKey:@"query"];
        [[FBRequest requestWithDelegate:self] call:@"facebook.fql.query" params:params];
    }
    - (void)request:(FBRequest*)request didLoad:(id)result {
        NSArray* users = result;
        NSDictionary* user = [users objectAtIndex:0];
        NSString* name = [user objectForKey:@"name"];
        NSLog(@"Query returned %@", name);
    }
    

    getUserName shows you the data pull which you could adapt to create new routines–but the request:didLoad: function would need some internal switching.

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

Sidebar

Related Questions

I've integrated my website with Facebook Connect, authorization/single-sign on all working great. Now im
I have got my friends list after getting logging in on facebook using Facebook
HI I have got Facebook Connect working with a functional login and logout button.
HI I have got Facebook Connect working with a functional login and logout button.
I use the JavaScript SDK for Facebook Connect. Yesterday I loaded all the friends
I have implemented the facebook connect with android. It was working fine before but
I am developing a facebook app and I seem to have got stuck on
I've got a site and setup facebook connect for users to login with facebook,
Basically I got 2 question here: once the user given permission to a facebook
I've got a CodeIgniter project using the Facebook Connect official PHP implementation. For the

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.