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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T11:25:26+00:00 2026-06-03T11:25:26+00:00

I am posting to the Facebook feed of user through the following code. 70

  • 0

I am posting to the Facebook feed of user through the following code.

70 – 90 % of the times it get posted fine, along with the image, but sometimes it gets posted but without image and without any error.

Can anybody explain what can be the reason?

[params setObject:@"1234"  forKey:@"name"];
[params setObject:@"1234"  forKey:@"caption"];
[params setObject:@"description" forKey:@"description"];
[params setObject:item.itemURL forKey:@"link"];
[params setObject:item.itemPictureURL forKey:@"picture"];
[params setObject:facebook.accessToken forKey:@"access_token"];
[facebook requestWithGraphPath:@"/me/feed" andParams:params andHttpMethod:@"POST" andDelegate:self];

Although the image is at the specified picture url.

Thanks –

  • 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-03T11:25:30+00:00Added an answer on June 3, 2026 at 11:25 am

    This happens because the url calls ie loading of image through the web or any web call is asynchronous also it does on another thread not on main thread so some times the call is made after the call of posting on fb so the image is not available at that time. so you need to load the required image first and check that the image is available at the time of call to post on FB

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

Sidebar

Related Questions

My following code for posting the UIImage to user's facebook wall is not working
Following is the code that works fine if I am passing /pageid/feed to facebook->api
I am posting to a user's wall showing the standard dialog method: [facebook dialog:@feed
I am successfully posting to Facebook wall, but I want that user can choose
I'm posting to a users Facebook wall with code similar to this: [appDelegate.facebook requestWithGraphPath:@me/feed
I am using fb_graph rails gem for posting a message to my user's Facebook
I'm posting some info to a user's wall via Facebook Connect (from my external
i am using the following url for posting message to user wall via my
I am fetching a user's news feed using the Facebook API and displaying some
Trying to post a status update using facebook php sdk. Code posted below. As

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.