title: Simple posts to Facebook and Twitter iOS 5 & 6
body: <p>I'm currently implementing a simple button that posts to social networking sites (giving my app a little exposure, you know the drill). However, I'm a little confused by all this social networking stuff. On one hand I know iOS 6 has a really nice framework for FB and Twitter (<code>Social.framework</code>) but for iOS 5 it's a little different. iOS 6, I think I've got figured... I find it a little weirder when we go into iOS 5 however. From what I understand Twitter was already integrated into iOS 5 and can be accessed using the <code>Twitter.framework</code> and <code>Account.framework</code> frameworks. What I don't get is in order to support both 5 &amp; 6 for Twitter do I have to use <code>Social.framework</code>, <code>Twitter.framework</code> and <code>Account.framework</code> to support everything? I.e. two different methods depending on iOS version. Or, if I use the latest SDK will iOS 5 twitter work with <code>Social.framework</code>? That Twitter covered.</p>
  
  <p>Now for Facebook, how do I go about posting in iOS 5? I'm pretty sure <code>Social.framework</code> won't work in iOS 5, even if I build the app with latest SDK. Therefore I think it's inevitable that I'll have to have two different methods which run depending on the iOS version installed. Is that correct? If so, how do I go about integrating FB into iOS 5? Do I have to use the SDKs provided by Facebook?</p>
  
  <p>So to summarise my questions if all that was a little wordy.</p>
  
  <p>1) Can I incorporate Twitter-posting into my app using only <code>Social.framework</code> for both iOS 5 &amp; 6, or do I have to do one method using <code>Social.framework</code> (for iOS 6) and then another method using <code>Twitter.framework</code> and <code>Account.framework</code> (iOS 5)?</p>
  
  <p>2) I can use <code>Social.framework</code> for Facebook in iOS 6, but can't for iOS 5, therefore, I have to do two separate methods, one with <code>Social.framework</code> (iOS 6) and then one with the FB SDK (iOS 5), correct?</p>
  
  <p>Thanks in advance,<br/> Regards,<br/>
  Mike</p>