18 lines
1.1 KiB
Plaintext
18 lines
1.1 KiB
Plaintext
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.
|