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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T21:42:06+00:00 2026-06-12T21:42:06+00:00

I have the SDK 3.1 working for iOS 6 for posting status updates and

  • 0

I have the SDK 3.1 working for iOS 6 for posting status updates and I have the facebook user id of the person who I want to post on their wall.

I just want it to say “hi.” to just one person’s wall.
I can target their feed with “/[id]/feed” but then I have to supply a graph object? if I use startForPostWithGraphPath() anyways.

  • 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-12T21:42:07+00:00Added an answer on June 12, 2026 at 9:42 pm

    I figured it out!

    First of course implement FBFriendPickerDelegate per here, unless you already have their friend ID somehow. http://developers.facebook.com/docs/howtos/filter-devices-friend-selector-using-ios-sdk/

    Then the important part, how to post to friend’s wall:

    - (void)facebookViewControllerDoneWasPressed:(id)sender
    {
        NSString* fid;
        NSString* fbUserName;
    
        // get facebook friend's ID from selection. just gets 1 right now.
        for (id<FBGraphUser> user in friendPickerController.selection)
        {
            NSLog(@"\nuser=%@\n", user);
            fid = user.id;
    
            fbUserName = user.name;
        }
    
        //Make the post.
        NSMutableDictionary* params = [[NSMutableDictionary alloc] initWithObjectsAndKeys:@"Join me!", @"message", @"http://itunes.apple.com/my-super-app", @"link", @"My Super App", @"name", nil];
    
        NSLog(@"\nparams=%@\n", params);
    
        //Post to friend's wall.
        [FBRequestConnection startWithGraphPath:[NSString stringWithFormat:@"%@/feed", fid] parameters:params HTTPMethod:@"POST"
                              completionHandler:^(FBRequestConnection *connection, id result, NSError *error)
         {
             //Tell the user that it worked.
             UIAlertView *alertView = [[UIAlertView alloc] initWithTitle:@"Shared"
                                                                 message:[NSString stringWithFormat:@"Invited %@! error=%@", fbUserName, error]
                                                                delegate:nil
                                                       cancelButtonTitle:@"OK"
                                                       otherButtonTitles:nil];
             [alertView show];
         }
        ];
    
        //Close the friend picker.
        [self dismissModalViewControllerAnimated:YES];
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Ok, I have been trying to get my ios app working with the facebook-ios-sdk.
i am working inapp purchase project in iOS sdk.i have prepared inapp purchase class
I have a strange issue trying to run the Facebook iOS SDK DemoApp (from
Currently i am working on Xcode 4.2 with iOS 5 sdk. I have created
I'm working on integrating Facebook with my iPhone/iOS application and I want to know
I have the Facebook SDK for Android working in my app. I can't seem
I'm working on an Ad SDK for iOS and I have a narrow banner-size
I`m working with iOS SDK If I have NSString *str = @Something cool; NSLog(@Text
I have just begun working with the Android SDK and I am having problems
I am working with the iPhone SDK and I have to process a webservice

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.