here i have a piece of code
(void)postToTwitter:(id)sender
{
if ([SLComposeViewController isAvailableForServiceType:SLServiceTypeTwitter])
{
SLComposeViewController *tweetSheet = [SLComposeViewController composeViewControllerForServiceType:SLServiceTypeTwitter];
[tweetSheet setInitialText:@"Great fun to learn iOS programming at softwareWeaver!"];
[self presentViewController:tweetSheet animated:YES completion:nil];
}
}
but what next to do ????
You can use the STTwitter library which makes all of this very very easy: