0

HI I want to share Image on twitter from my APP. I have tweet text succesfully by following code.How can I tweet image with text.

-(IBAction)updateTwitter{ if(!_engine){ _engine = [[SA_OAuthTwitterEngine alloc] initOAuthWithDelegate:self]; _engine.consumerKey = kOAuthConsumerKey; _engine.consumerSecret = kOAuthConsumerSecret; } if(![_engine isAuthorized]){ UIViewController *controller = [SA_OAuthTwitterController controllerToEnterCredentialsWithTwitterEngine:_engine delegate:self]; if (controller){ [self presentModalViewController: controller animated: YES]; } } if([_engine isAuthorized]){ [_engine sendUpdate:@"This is my first test"]; } } 

1 Answer 1

1

Have you considered using iOS 5's Twitter Framework? In particular, check out TWTweetComposeViewController, which lets you add images easily.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.