title: Post in Twitter from iOS 6
body: <p>I want to configure send data to facebook and twitter. I have a big article. In facebook goes fine, but Twitter is empty. I understand that because of the amount of data greater than 140 characters.</p>
  
  <p>How do I check to see if the data to send to facebook send all article. And if the data is sent to Twitter sent only 140 characters.</p>
  
  <p>Thank you very much</p>
  
  <pre><code>    NSArray *activityItems;
      NSString *myText = [self.webview stringByEvaluatingJavaScriptFromString:@"document.documentElement.innerText"];
      NSLog(@"my text -&gt; %@",myText);
      NSString *path = ([self.data isKindOfClass:[NSArray class]]?[NSString stringWithFormat:@"%@-%d",self.key,selectedCategory]:self.key);
      NSString *string = [NSString stringWithFormat:@"%@.jpg", path];
      UIImage *image = [UIImage imageNamed:string];
          activityItems = @[myText, image];
     UIActivityViewController* activityViewController =
      [[UIActivityViewController alloc] initWithActivityItems:activityItems
                                        applicationActivities:nil];
      [self presentViewController:activityViewController animated:YES completion:^{}];
  </code></pre>