Social Cafe iOS Sample App
Sample app for social cafe, counterpart to the web version: http://social-cafe.herokuapp.com/
Note: This sample uses story boards and only runs on iOS 5+.
Authors: Christine Abernathy (caabernathy)
Installing
Installing the samples requires you to add the Facebook SDK, the Facebook SDK resource bundle, and the Facebook SDK deprecated headers for some samples. The missing required libraries and files will show up in red under the Frameworks
folder when you open up the project. Simply delete those references then do the following:
-
Add the Facebook SDK for iOS Framework by dragging the
FacebookSDK.framework
folder from the SDK installation folder into the Frameworks section of your Project Navigator. -
Choose 'Create groups for any added folders' and deselect 'Copy items into destination group's folder (if needed)' to keep the reference to the SDK installation folder, rather than creating a copy.
-
Add the Facebook SDK for iOS resource bundle by dragging the
FacebookSDKResources.bundle
file from theFacebookSDK.framework/Resources
folder into the Frameworks section of your Project Navigator. -
As you did when copying the Framework, choose 'Create groups for any added folders' and deselect 'Copy items into destination group's folder (if needed)'
-
Build and run the project.
Documentation
Additional Resources
Social Cafe Web Version https://github.com/fbsamples/web-social-cafe
Social Cafe Android Version https://github.com/fbsamples/android-social-cafe
Facebook SDK for iOS documentation can be found at https://developers.facebook.com/ios/
Contributing
All contributors must agree to and sign the Facebook CLA prior to submitting Pull Requests. We cannot accept Pull Requests until this document is signed and submitted.
License
Copyright 2012-present Facebook, Inc.
You are hereby granted a non-exclusive, worldwide, royalty-free license to use, copy, modify, and distribute this software in source code or binary form for use in connection with the web services and APIs provided by Facebook.
As with any software that integrates with the Facebook platform, your use of this software is subject to the Facebook Developer Principles and Policies [http://developers.facebook.com/policy/]. This copyright notice shall be included in all copies or substantial portions of the software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.