tags:

views:

187

answers:

1

HI Guys,

Here I am having problem that How can I post an image including status in facebook can anyone suggest this.

The code I used for posting the status with the inage is as shown below:

NSMutableDictionary *args = [[[NSMutableDictionary alloc] init] autorelease];
[args setObject:status forKey:@"caption"];
[[FBRequest requestWithDelegate:self] call:@"facebook.photos.upload" params:args dataParam:imageFromCorkit];

where imageFromCorkit is a NSData argument which contains the image data.

But i didn't get these posts in my facebook account.

Thank you, Monish

+1  A: 

You must post the image to your photos (using the method you are doing now, without the args) and then post a wall post that links to the photo.

Steven Canfield
Can u have any reference code for the suggestion u had given.
monish
Hey Guys,I donno how to post the text with the Images in the facebook integration of my application can any one suggest me about this with sample code.
monish