Files
Jawwad Ahmad eb0dd45ba1 Enable SwiftFormat on more directories in the internal folder
Summary: Refactored and moved excludes into a new .swiftconfig in the internal folder

Reviewed By: samodom

Differential Revision: D39933313

fbshipit-source-id: 6875ea67efbe52b5203ac64fb10a1c445717e170
2022-09-30 13:04:49 -07:00
..

Rock, Paper, Scissors sample

This sample demonstrates use of the Facebook SDK to create and query Open Graph Actions. It consists of two views.
The first view allows the user to post Open Graph Actions to their Timeline. The second view allows the user to 
view a list of their friends who have also installed the Rock, Paper, Scissors sample app, select one of those 
friends, and retrieve a list of the actions that that friend has recently posted.

Use this example as the basis for integrating Facebook into a real-world app that has multiple types of Open Graph actions
and that allows a user to view their friends' recent app-related activity directly from within the app.

Using the Sample
1. Register this app at https://developers.facebook.com/apps/ and copy the Facebook App ID.
2. Open the RPSSample-info.plist and paste your Facebook App ID into the FacebookAppID key.
3. Install the Facebook SDK for iOS.
4. Launch the RPSSample project using Xcode from the <Facebook SDK>/samples/RPSSample directory.
5. Play a few rounds of the game. Open the Events Manager at https://www.facebook.com/events_manager/ to
   see the events.