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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T14:47:21+00:00 2026-06-14T14:47:21+00:00

I am working on an Iphone application and I am using facebook sdk to

  • 0

I am working on an Iphone application and I am using facebook sdk to post on a user’s wall.
I need to create a post with a text and a picture.

For that first I am uploading the picture to the user’s profile by using this:

//image to post is the UIImage I am uploading
NSMutableDictionary *params = [NSMutableDictionary dictionaryWithObjectsAndKeys:
                               [self imageToPost], @"picture"   

[FBRequestConnection startWithGraphPath:@"me/photos" parameters:params HTTPMethod:@"POST" completionHandler:^(FBRequestConnection *connection, id result, NSError *error) {
} 

This is working corretly. The result I get is in the following format:

{
    id = 101586254325716;
    "post_id" = "100004123442691_101551541234190";
}

Now I want to post a feed on the user wall containing a text and the image uploaded.

//self.facebookStatus is the text I want to post
//imageURL is the url of the image

NSMutableDictionary *params = [NSMutableDictionary dictionaryWithObjectsAndKeys:
              self.facebookStatus, @"message",  
              imageURL, @"picture",
              nil];
[FBRequestConnection startWithGraphPath:@"me/feed" parameters:params HTTPMethod:@"POST" completionHandler:^(FBRequestConnection *connection, id result, NSError *error) {
}

Problem:

I dont know what the imageURL should be. I tried to use the id or post_id I get as a result but it is not working. I alst tried www.facebook.com/101586254325716 but didn’t work either.

How can I get the url of the image I uploaded in order to add it to the wall post?

Thanks

PS: If someone has other ways or hints on posting on a users wall, text + image from the iphone That would be great.

  • 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-14T14:47:22+00:00Added an answer on June 14, 2026 at 2:47 pm

    It turns out that I have to use the object_attachment parameter and set it to the photo id
    and not the picture parameter.

    Will leave it here in case someone had the same problem

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

Sidebar

Related Questions

Possible Duplicate: Text to speech on iPhone I am working in iPhone application, Using
Currently I am working in iPhone application, Using Storyboard to create JSONParser, Import JSON
Currently i am working in iPhone application, Using UITextField to enter phone number, user
Now i am working in iPhone application, Using UIImageView to create a animation and
i am working in iPhone application, Using NSTimer to create time count to set
Now i'm working in iPhone application, Using Label to set a text like (To:),
i am currently working in iPhone application, using ABPeoplePickerNavigationController to create contact screen in
I'm working in iPhone application, Using UITextView to get some content from user, then
I am working on Flash AIR application for iphone, using facebook-actionscript-api for Mobile. does
I have been working with iPhone application in which i am using sqlite database.

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.