2. iOS & Android Devices - Time Spent
Source: Flurry Analytics
http://blog.flurry.com/bid/95723/Flurry-Five-Year-Report-It-s-an-App-World-The-Just-Web-Lives-in-It
20%
Browser
14%
Other
8%
Utility
8%
Enterta-
inment
32%
Playing Games
18%
Facebook
0% 100%
50%
Thursday, May 2, 13
3. 28%
72%
US top 400 grossing iOS apps
Source: App Figures
Thursday, May 2, 13
4. 22%
78%
US top 400 grossing Android apps
Source: App Figures
Thursday, May 2, 13
5. On average in March, how many games were
added to the Apple App Store every day?
143
Source: 124Apps.biz
http://148apps.biz/app-store-metrics/?mpage=submission
Thursday, May 2, 13
11. Sending Gifts
Invitations
with Value
‣ Q: Why use this over native
push notifications?
- Cross-Platform
- Works with users who’ve
not installed your app
Thursday, May 2, 13
22. User Flow for Requests
Sending Receive Push Notification Light up notification jewel
Thursday, May 2, 13
23. User Flow for Requests
Sending Receive Push Notification Light up notification jewel
Thursday, May 2, 13
24. User Flow for Requests
Receive Push Notification Light up notification jewel Appear in notification list
Thursday, May 2, 13
25. User Flow for Requests
Receive Push Notification Cross-Platform
(Web / iOS / Android /
Mobile Web)
Light up notification jewel Appear in notification list
Thursday, May 2, 13
26. Sending a Request
NSString
*message
=
[NSString
stringWithFormat:@"I
just
smashed
%d
friends!
Can
you
beat
it?",
nScore];
[FBWebDialogs
presentRequestsDialogModallyWithSession:nil
message:message
title:@”Invite
Friend”
parameters:params
handler:nil];
Thursday, May 2, 13
27. Frictionless Requests
▪ Automatically sends future
requests without prompting the
user
▪ Useful for Games to send a
“Your Turn” notification, to send
lives/gifts to friends
Thursday, May 2, 13
28. Request Filtering
GET https://graph.facebook.com/USER_ID/friends?fields=devices
▪ What if you don’t support all platforms?
▪ Restrict Requests only to users that support your platforms...
▪ Can query the set of devices a user has via the Graph API
▪ Send the result of the query to your native Friend Selector
Thursday, May 2, 13
30. Advanced Filtering
NSString
*fql
=
@”SELECT
uid,
devices
FROM
user
WHERE
uid
IN
(SELECT
uid2
FROM
friend
WHERE
uid1
=
me())
and
is_app_user
=
0”;
[FBRequestConnection
startWithGraphPath:@"/fql"
parameters:@{@”q”:
fql}
HTTPMethod:@"GET"
completionHandler:^(FBRequestConnection
*connection,
id
result,
NSError
*error)
{
//parse
list
}
];
▪ Remove friends who are already using the app
▪ Send the result to to your custom Friend Selector
Thursday, May 2, 13
31. Deep Linking from Requests
fb[APP_ID]://
authorize#expires_in=[ACCESS_TOKEN_EXPIRATION]
&access_token=[USER_ACCESS_TOKEN]
&target_url=https://apps.facebook.com/
[APP_NAME_SPACE]/?
request_ids=[COMMA_SEPARATED_REQUESTIDs]&ref=not
if&app_request_type=user_to_user
Thursday, May 2, 13
32. Build Your Own Friend Selector
▪ Build your own friend selector
for better results
▪ Use your game’s artwork for a more
consistent user experience
▪ Native dialogs will perform better
▪ Send the selected friends to the
Facebook Requests Dialog
Thursday, May 2, 13
35. Using the New Native Share Dialog
[FBDialogs presentShareDialogWithLink:[NSURL URLWithString:@"http://
yoururl.com/"]
name:@"Checkout how awesome I am"
caption:@"See if you can beat me!"
description:[NSString stringWithFormat:@"I just scored %d points!]
picture:[NSURL URLWithString:@"http://youurl.com/yourimage.jpg"]
clientState:nil
handler:nil];
Thursday, May 2, 13
39. Support Deep Linking when Sharing
▪ Feed and Timeline stories link
directly to the native app
▪ Don’t just send users to a
generic title screen, provide
context
▪ Parse target_url to provide a
contextual experience
Thursday, May 2, 13
41. Graph API for Scores
▪ Simple API, only for
games
▪ Post an integer score
for a player
▪ We generate stories
automatically
▪ These stories are only
for desktop Facebook
▪ ...but the Scores API is
still useful for mobile...
Thursday, May 2, 13
45. Creating a Tournament
DELETE https://graph.facebook.com/USER_ID/scores/
DELETE https://graph.facebook.com/APP_ID/scores/
Delete individual user score
Delete all user scores
Easily delete scores, per-user or all users and
run weekly tournaments
Thursday, May 2, 13
46. Achievements API
▪ Define a set of achievements a player can earn
in your game
▪ Each achievement can be earned only once
▪ Publishes on user’s Timeline, appears in News Feed
Thursday, May 2, 13
49. Custom Open Graph Actions for Games
▪ Custom actions and objects, tailored to your game
▪ Publishes on the user Timeline and Newsfeed
▪ Represents core gameplay interactions
▪ Allows you to differentiate your game
Thursday, May 2, 13