Professional Documents
Culture Documents
https://github.com/facebook/facebook-ios-sdk
https://github.com/facebook/facebook-android-sdk/
425M
Mobile Users
Extended Permissions
FB
Connected to Facebook
425M
Mobile Users
Extended Permissions
FB
Connected to Facebook
SSO Update!
Stability and Performance
Major stability improvements made in November Major Performance increases in February No more OK button** (be sure to ll out Bundle ID for iOS)
SSO Pitfalls
Not storing the user session Omitting elds in the Facebook App Settings
Oh My!
Simple, right?
Desktop
Simple, right?
M-Site m.pinterest.com
Simple, right?
Facebook for iPhone Pinterest App App Store
or
Not so fast...
Facebook for iPhone Pinterest App
Not so fast...
Facebook for iPhone Pinterest App
Shallow Linking
How to enable/disable
YES
Click Request
Is App Installed?
NO
YES
NO
Just announced Jan All apps migrated by May , Existing user tokens with ofine_access not impacted
iOS
- (void)fbDidExtendToken:(NSString*)accessToken expiresAt:(NSDate*)expiresAt { NSUserDefaults *prefs = [NSUserDefaults standardUserDefaults]; [prefs setObject:accessToken forKey:@"accessToken"]; [prefs setObject:expiresAt forKey:@"expirationDate"]; [prefs synchronize]; }
Android
public void onResume() { super.onResume(); facebook.extendAccessTokenIfNeeded(this, null); }
Using Dialogs
NSMutableDictionary *params = [NSMutableDictionary dictionaryWithObjectsAndKeys: @"I'm using the Hackbook for iOS app", @"name", @"Hackbook for iOS.", @"caption", @"Check out Hackbook for iOS to learn how you can make your iOS apps social using Facebook Platform.", @"description", @"http://m.facebook.com/apps/hackbookios/", @"link", @"http://www.fb.me/facebook_icon_large.png", @"picture", actionLinksStr, @"actions",nil]; [facebook dialog:@"feed" andParams:params andDelegate:self];
https://github.com/facebook/facebook-android-sdk/ https://github.com/facebook/facebook-ios-sdk