title: Social.framework don't work on device
body: <p>I want make button for share on Facebook with the social.framework. I make this:</p>
  
  <pre><code>    #import &lt;UIKit/UIKit.h&gt;
  
      #import &lt;Social/Social.h&gt;
  
      @interface SocialSharingViewController : UIViewController
  
      - (IBAction)postToFacebook:(id)sender;
  
      @end
  </code></pre>
  
  <p>Then I add in m. File:</p>
  
  <pre><code>- (IBAction)postToFacebook:(id)sender {
      if([SLComposeViewController isAvailableForServiceType:SLServiceTypeFacebook]) {
              SLComposeViewController *controller = [SLComposeViewController composeViewControllerForServiceType:SLServiceTypeFacebook];
  
          [controller setInitialText:@"First post from my iPhone app"];
          [self presentViewController:controller animated:YES completion:Nil];        
      }
  }
  </code></pre>
  
  <p>It's work perfect in emulator but when I test this on my iPhone 5 device it's doesn't work. When I click on the button postToFacebook nothing happens. </p>
  
  <p>Pleas help me</p>