Place your call to -tweet_image in the completion block of -dismissViewControllerAnimated:
-(void)imagePickerController:(UIImagePickerController *)picker didFinishPickingMediaWithInfo:(NSDictionary *)info {
image = [info objectForKey:UIImagePickerControllerOriginalImage];
[self dismissViewControllerAnimated:YES completion:^ {
[self tweet_image];
}];
}