I want to integrate facebook with my app. I took a sample app from the fb sdk and copied the required code from there. It looked quite easy.
I added the social, adsupport and accounts frameworks as required. i was able to build and link. But while running, it shows up errors, which when i searched on the internet, i got to know that these frameworks are applicable only for ios6.
errors that "social framework referred from app". When I removed this framework, the same for adsupport framework. I tried making these three as optional frameworks, but then it gave errors like this Facebook iOS SDK 3.1 with XCode 4.2 linker errors
So can I use sdk 3.1 for integrating fb with my app or do i use 3.0 or previous version? Or some different way of implementation? If I have to use a previous version, how do I do it?
Edit: there is a readme file with the 'hello facebook" sample app which says its requirement is iOS4.0!