This is what I'm trying...
I am connecting with Facebook. My message shows but the image is not showing.
Any ideas?
//Trying this to get my image
Code:
UIGraphicsBeginImageContext(CGSizeMake(300.0, 245.0));
[aImageView.image drawInRect:CGRectMake(10, 80, 300.0, 245.0)];
UIImage * img = UIGraphicsGetImageFromCurrentImageContext();
UIGraphicsEndImageContext();
//Post to Facebook
Code:
NSMutableDictionary *params = [NSMutableDictionary dictionaryWithObjectsAndKeys:
img, @"picture",
@"Message is here", @"message",
nil];
[[delegate facebook] requestWithGraphPath:@"me/photos"
andParams:params
andHttpMethod:@"POST"
andDelegate:self];
I have also carried over the activityIndicator and messageLabel/messageView from the Hackathon Facebook example and it is not showing either. Anyone have this issue as well?