I'm kind of new on objective c, and I'm trying to do a twitter client. I'm using the STTwitter API. I'm using the for tweeting the method :
[twitter postStatusUpdate:twitterPostTweetText
inReplyToStatusID:nil
mediaURL:_twitterPostMediaURL
placeID:nil
latitude:latitud
longitude:longitud
successBlock:^(NSDictionary *status) {
self->twitterPostTweetText = @"";
self->twitterPostTweetStatus = @"OK";
self->latitud = nil;
self->longitud = nil;
self.twitterPostMediaURL = nil;
} errorBlock:^(NSError *error) {
self->twitterPostTweetStatus = error ? [error localizedDescription] : @"Unknown error";
}];
but it says that for sending an image attached I have to use NSUrl but I can't figure out how does it work. I want to send an image that I take with the camera roll. Please, any ideas?