motion-firebase 1.0.11 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +1 -1
- data/lib/firebase/version.rb +1 -1
- metadata +1 -249
- data/lib/motion-firebase-facebook.rb +0 -17
- data/lib/vendor/FacebookSDK.framework/FacebookSDK +0 -0
- data/lib/vendor/FacebookSDK.framework/FacebookSDK.framework.bridgesupport +0 -2646
- data/lib/vendor/FacebookSDK.framework/Headers/FBAccessTokenData.h +0 -115
- data/lib/vendor/FacebookSDK.framework/Headers/FBCacheDescriptor.h +0 -42
- data/lib/vendor/FacebookSDK.framework/Headers/FBError.h +0 -274
- data/lib/vendor/FacebookSDK.framework/Headers/FBFrictionlessRecipientCache.h +0 -86
- data/lib/vendor/FacebookSDK.framework/Headers/FBFriendPickerViewController.h +0 -290
- data/lib/vendor/FacebookSDK.framework/Headers/FBGraphLocation.h +0 -77
- data/lib/vendor/FacebookSDK.framework/Headers/FBGraphObject.h +0 -224
- data/lib/vendor/FacebookSDK.framework/Headers/FBGraphPlace.h +0 -60
- data/lib/vendor/FacebookSDK.framework/Headers/FBGraphUser.h +0 -90
- data/lib/vendor/FacebookSDK.framework/Headers/FBInsights.h +0 -271
- data/lib/vendor/FacebookSDK.framework/Headers/FBLoginView.h +0 -178
- data/lib/vendor/FacebookSDK.framework/Headers/FBNativeDialogs.h +0 -170
- data/lib/vendor/FacebookSDK.framework/Headers/FBOpenGraphAction.h +0 -127
- data/lib/vendor/FacebookSDK.framework/Headers/FBPlacePickerViewController.h +0 -257
- data/lib/vendor/FacebookSDK.framework/Headers/FBProfilePictureView.h +0 -80
- data/lib/vendor/FacebookSDK.framework/Headers/FBRequest.h +0 -504
- data/lib/vendor/FacebookSDK.framework/Headers/FBRequestConnection.h +0 -389
- data/lib/vendor/FacebookSDK.framework/Headers/FBSession.h +0 -751
- data/lib/vendor/FacebookSDK.framework/Headers/FBSessionTokenCachingStrategy.h +0 -152
- data/lib/vendor/FacebookSDK.framework/Headers/FBSettings.h +0 -136
- data/lib/vendor/FacebookSDK.framework/Headers/FBTestSession.h +0 -135
- data/lib/vendor/FacebookSDK.framework/Headers/FBUserSettingsViewController.h +0 -127
- data/lib/vendor/FacebookSDK.framework/Headers/FBViewController.h +0 -118
- data/lib/vendor/FacebookSDK.framework/Headers/FBWebDialogs.h +0 -234
- data/lib/vendor/FacebookSDK.framework/Headers/FacebookSDK.h +0 -132
- data/lib/vendor/FacebookSDK.framework/Headers/NSError+FBError.h +0 -59
- data/lib/vendor/FacebookSDK.framework/Resources/FBUserSettingsViewResources.bundle/Contents/Resources/en.lproj/Localizable.strings +0 -0
- data/lib/vendor/FacebookSDK.framework/Resources/FBUserSettingsViewResources.bundle/Contents/Resources/he.lproj/Localizable.strings +0 -0
- data/lib/vendor/FacebookSDK.framework/Resources/FBUserSettingsViewResources.bundle/images/facebook-logo.png +0 -0
- data/lib/vendor/FacebookSDK.framework/Resources/FBUserSettingsViewResources.bundle/images/facebook-logo@2x.png +0 -0
- data/lib/vendor/FacebookSDK.framework/Resources/FBUserSettingsViewResources.bundle/images/loginBackgroundIPadLandscape.jpg +0 -0
- data/lib/vendor/FacebookSDK.framework/Resources/FBUserSettingsViewResources.bundle/images/loginBackgroundIPadLandscape@2x.jpg +0 -0
- data/lib/vendor/FacebookSDK.framework/Resources/FBUserSettingsViewResources.bundle/images/loginBackgroundIPadPortrait.jpg +0 -0
- data/lib/vendor/FacebookSDK.framework/Resources/FBUserSettingsViewResources.bundle/images/loginBackgroundIPadPortrait@2x.jpg +0 -0
- data/lib/vendor/FacebookSDK.framework/Resources/FBUserSettingsViewResources.bundle/images/loginBackgroundIPhonePortrait.jpg +0 -0
- data/lib/vendor/FacebookSDK.framework/Resources/FBUserSettingsViewResources.bundle/images/loginBackgroundIPhonePortrait@2x.jpg +0 -0
- data/lib/vendor/FacebookSDK.framework/Resources/FBUserSettingsViewResources.bundle/images/silver-button-normal.png +0 -0
- data/lib/vendor/FacebookSDK.framework/Resources/FBUserSettingsViewResources.bundle/images/silver-button-normal@2x.png +0 -0
- data/lib/vendor/FacebookSDK.framework/Resources/FBUserSettingsViewResources.bundle/images/silver-button-pressed.png +0 -0
- data/lib/vendor/FacebookSDK.framework/Resources/FBUserSettingsViewResources.bundle/images/silver-button-pressed@2x.png +0 -0
- data/lib/vendor/FacebookSDK.framework/Resources/FacebookSDKResources.bundle/Contents/Resources/en.lproj/Localizable.strings +0 -0
- data/lib/vendor/FacebookSDK.framework/Resources/FacebookSDKResources.bundle/Contents/Resources/he.lproj/Localizable.strings +0 -0
- data/lib/vendor/FacebookSDK.framework/Resources/FacebookSDKResources.bundle/FBDialog/images/close.png +0 -0
- data/lib/vendor/FacebookSDK.framework/Resources/FacebookSDKResources.bundle/FBDialog/images/close@2x.png +0 -0
- data/lib/vendor/FacebookSDK.framework/Resources/FacebookSDKResources.bundle/FBDialog/images/fbicon.png +0 -0
- data/lib/vendor/FacebookSDK.framework/Resources/FacebookSDKResources.bundle/FBFriendPickerView/images/default.png +0 -0
- data/lib/vendor/FacebookSDK.framework/Resources/FacebookSDKResources.bundle/FBLoginView/images/bluetint.png +0 -0
- data/lib/vendor/FacebookSDK.framework/Resources/FacebookSDKResources.bundle/FBLoginView/images/f_logo.png +0 -0
- data/lib/vendor/FacebookSDK.framework/Resources/FacebookSDKResources.bundle/FBLoginView/images/facebook.png +0 -0
- data/lib/vendor/FacebookSDK.framework/Resources/FacebookSDKResources.bundle/FBLoginView/images/login-button-small-pressed.png +0 -0
- data/lib/vendor/FacebookSDK.framework/Resources/FacebookSDKResources.bundle/FBLoginView/images/login-button-small-pressed@2x.png +0 -0
- data/lib/vendor/FacebookSDK.framework/Resources/FacebookSDKResources.bundle/FBLoginView/images/login-button-small.png +0 -0
- data/lib/vendor/FacebookSDK.framework/Resources/FacebookSDKResources.bundle/FBLoginView/images/login-button-small@2x.png +0 -0
- data/lib/vendor/FacebookSDK.framework/Resources/FacebookSDKResources.bundle/FBPlacePickerView/images/fb_generic_place.png +0 -0
- data/lib/vendor/FacebookSDK.framework/Resources/FacebookSDKResources.bundle/FBProfilePictureView/images/fb_blank_profile_portrait.png +0 -0
- data/lib/vendor/FacebookSDK.framework/Resources/FacebookSDKResources.bundle/FBProfilePictureView/images/fb_blank_profile_square.png +0 -0
- data/lib/vendor/FacebookSDK.framework/Resources/Info.plist +0 -20
- data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBAccessTokenData.h +0 -115
- data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBCacheDescriptor.h +0 -42
- data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBConnect.h +0 -22
- data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBDialog.h +0 -165
- data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBError.h +0 -274
- data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBFrictionlessRecipientCache.h +0 -86
- data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBFrictionlessRequestSettings.h +0 -85
- data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBFriendPickerViewController.h +0 -290
- data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBGraphLocation.h +0 -77
- data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBGraphObject.h +0 -224
- data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBGraphPlace.h +0 -60
- data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBGraphUser.h +0 -90
- data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBInsights.h +0 -271
- data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBLoginDialog.h +0 -48
- data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBLoginView.h +0 -178
- data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBNativeDialogs.h +0 -170
- data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBOpenGraphAction.h +0 -127
- data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBPlacePickerViewController.h +0 -257
- data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBProfilePictureView.h +0 -80
- data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBRequest.h +0 -504
- data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBRequestConnection.h +0 -389
- data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBSBJSON.h +0 -75
- data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBSBJsonBase.h +0 -86
- data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBSBJsonParser.h +0 -87
- data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBSBJsonWriter.h +0 -129
- data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBSession.h +0 -751
- data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBSessionManualTokenCachingStrategy.h +0 -32
- data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBSessionTokenCachingStrategy.h +0 -152
- data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBSettings.h +0 -136
- data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBTestSession.h +0 -135
- data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBUserSettingsViewController.h +0 -127
- data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBViewController.h +0 -118
- data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBWebDialogs.h +0 -234
- data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/Facebook.h +0 -281
- data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FacebookSDK.h +0 -132
- data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/NSError+FBError.h +0 -59
- data/lib/vendor/FacebookSDK.framework/Versions/A/FacebookSDK +0 -0
- data/lib/vendor/FacebookSDK.framework/Versions/A/Headers/FBAccessTokenData.h +0 -115
- data/lib/vendor/FacebookSDK.framework/Versions/A/Headers/FBCacheDescriptor.h +0 -42
- data/lib/vendor/FacebookSDK.framework/Versions/A/Headers/FBError.h +0 -274
- data/lib/vendor/FacebookSDK.framework/Versions/A/Headers/FBFrictionlessRecipientCache.h +0 -86
- data/lib/vendor/FacebookSDK.framework/Versions/A/Headers/FBFriendPickerViewController.h +0 -290
- data/lib/vendor/FacebookSDK.framework/Versions/A/Headers/FBGraphLocation.h +0 -77
- data/lib/vendor/FacebookSDK.framework/Versions/A/Headers/FBGraphObject.h +0 -224
- data/lib/vendor/FacebookSDK.framework/Versions/A/Headers/FBGraphPlace.h +0 -60
- data/lib/vendor/FacebookSDK.framework/Versions/A/Headers/FBGraphUser.h +0 -90
- data/lib/vendor/FacebookSDK.framework/Versions/A/Headers/FBInsights.h +0 -271
- data/lib/vendor/FacebookSDK.framework/Versions/A/Headers/FBLoginView.h +0 -178
- data/lib/vendor/FacebookSDK.framework/Versions/A/Headers/FBNativeDialogs.h +0 -170
- data/lib/vendor/FacebookSDK.framework/Versions/A/Headers/FBOpenGraphAction.h +0 -127
- data/lib/vendor/FacebookSDK.framework/Versions/A/Headers/FBPlacePickerViewController.h +0 -257
- data/lib/vendor/FacebookSDK.framework/Versions/A/Headers/FBProfilePictureView.h +0 -80
- data/lib/vendor/FacebookSDK.framework/Versions/A/Headers/FBRequest.h +0 -504
- data/lib/vendor/FacebookSDK.framework/Versions/A/Headers/FBRequestConnection.h +0 -389
- data/lib/vendor/FacebookSDK.framework/Versions/A/Headers/FBSession.h +0 -751
- data/lib/vendor/FacebookSDK.framework/Versions/A/Headers/FBSessionTokenCachingStrategy.h +0 -152
- data/lib/vendor/FacebookSDK.framework/Versions/A/Headers/FBSettings.h +0 -136
- data/lib/vendor/FacebookSDK.framework/Versions/A/Headers/FBTestSession.h +0 -135
- data/lib/vendor/FacebookSDK.framework/Versions/A/Headers/FBUserSettingsViewController.h +0 -127
- data/lib/vendor/FacebookSDK.framework/Versions/A/Headers/FBViewController.h +0 -118
- data/lib/vendor/FacebookSDK.framework/Versions/A/Headers/FBWebDialogs.h +0 -234
- data/lib/vendor/FacebookSDK.framework/Versions/A/Headers/FacebookSDK.h +0 -132
- data/lib/vendor/FacebookSDK.framework/Versions/A/Headers/NSError+FBError.h +0 -59
- data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FBUserSettingsViewResources.bundle/Contents/Resources/en.lproj/Localizable.strings +0 -0
- data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FBUserSettingsViewResources.bundle/Contents/Resources/he.lproj/Localizable.strings +0 -0
- data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FBUserSettingsViewResources.bundle/images/facebook-logo.png +0 -0
- data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FBUserSettingsViewResources.bundle/images/facebook-logo@2x.png +0 -0
- data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FBUserSettingsViewResources.bundle/images/loginBackgroundIPadLandscape.jpg +0 -0
- data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FBUserSettingsViewResources.bundle/images/loginBackgroundIPadLandscape@2x.jpg +0 -0
- data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FBUserSettingsViewResources.bundle/images/loginBackgroundIPadPortrait.jpg +0 -0
- data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FBUserSettingsViewResources.bundle/images/loginBackgroundIPadPortrait@2x.jpg +0 -0
- data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FBUserSettingsViewResources.bundle/images/loginBackgroundIPhonePortrait.jpg +0 -0
- data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FBUserSettingsViewResources.bundle/images/loginBackgroundIPhonePortrait@2x.jpg +0 -0
- data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FBUserSettingsViewResources.bundle/images/silver-button-normal.png +0 -0
- data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FBUserSettingsViewResources.bundle/images/silver-button-normal@2x.png +0 -0
- data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FBUserSettingsViewResources.bundle/images/silver-button-pressed.png +0 -0
- data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FBUserSettingsViewResources.bundle/images/silver-button-pressed@2x.png +0 -0
- data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FacebookSDKResources.bundle/Contents/Resources/en.lproj/Localizable.strings +0 -0
- data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FacebookSDKResources.bundle/Contents/Resources/he.lproj/Localizable.strings +0 -0
- data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FacebookSDKResources.bundle/FBDialog/images/close.png +0 -0
- data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FacebookSDKResources.bundle/FBDialog/images/close@2x.png +0 -0
- data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FacebookSDKResources.bundle/FBDialog/images/fbicon.png +0 -0
- data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FacebookSDKResources.bundle/FBFriendPickerView/images/default.png +0 -0
- data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FacebookSDKResources.bundle/FBLoginView/images/bluetint.png +0 -0
- data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FacebookSDKResources.bundle/FBLoginView/images/f_logo.png +0 -0
- data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FacebookSDKResources.bundle/FBLoginView/images/facebook.png +0 -0
- data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FacebookSDKResources.bundle/FBLoginView/images/login-button-small-pressed.png +0 -0
- data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FacebookSDKResources.bundle/FBLoginView/images/login-button-small-pressed@2x.png +0 -0
- data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FacebookSDKResources.bundle/FBLoginView/images/login-button-small.png +0 -0
- data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FacebookSDKResources.bundle/FBLoginView/images/login-button-small@2x.png +0 -0
- data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FacebookSDKResources.bundle/FBPlacePickerView/images/fb_generic_place.png +0 -0
- data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FacebookSDKResources.bundle/FBProfilePictureView/images/fb_blank_profile_portrait.png +0 -0
- data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FacebookSDKResources.bundle/FBProfilePictureView/images/fb_blank_profile_square.png +0 -0
- data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/Info.plist +0 -20
- data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBAccessTokenData.h +0 -115
- data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBCacheDescriptor.h +0 -42
- data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBConnect.h +0 -22
- data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBDialog.h +0 -165
- data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBError.h +0 -274
- data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBFrictionlessRecipientCache.h +0 -86
- data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBFrictionlessRequestSettings.h +0 -85
- data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBFriendPickerViewController.h +0 -290
- data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBGraphLocation.h +0 -77
- data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBGraphObject.h +0 -224
- data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBGraphPlace.h +0 -60
- data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBGraphUser.h +0 -90
- data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBInsights.h +0 -271
- data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBLoginDialog.h +0 -48
- data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBLoginView.h +0 -178
- data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBNativeDialogs.h +0 -170
- data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBOpenGraphAction.h +0 -127
- data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBPlacePickerViewController.h +0 -257
- data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBProfilePictureView.h +0 -80
- data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBRequest.h +0 -504
- data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBRequestConnection.h +0 -389
- data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBSBJSON.h +0 -75
- data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBSBJsonBase.h +0 -86
- data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBSBJsonParser.h +0 -87
- data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBSBJsonWriter.h +0 -129
- data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBSession.h +0 -751
- data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBSessionManualTokenCachingStrategy.h +0 -32
- data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBSessionTokenCachingStrategy.h +0 -152
- data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBSettings.h +0 -136
- data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBTestSession.h +0 -135
- data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBUserSettingsViewController.h +0 -127
- data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBViewController.h +0 -118
- data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBWebDialogs.h +0 -234
- data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/Facebook.h +0 -281
- data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FacebookSDK.h +0 -132
- data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/NSError+FBError.h +0 -59
- data/lib/vendor/FacebookSDK.framework/Versions/Current/FacebookSDK +0 -0
- data/lib/vendor/FacebookSDK.framework/Versions/Current/Headers/FBAccessTokenData.h +0 -115
- data/lib/vendor/FacebookSDK.framework/Versions/Current/Headers/FBCacheDescriptor.h +0 -42
- data/lib/vendor/FacebookSDK.framework/Versions/Current/Headers/FBError.h +0 -274
- data/lib/vendor/FacebookSDK.framework/Versions/Current/Headers/FBFrictionlessRecipientCache.h +0 -86
- data/lib/vendor/FacebookSDK.framework/Versions/Current/Headers/FBFriendPickerViewController.h +0 -290
- data/lib/vendor/FacebookSDK.framework/Versions/Current/Headers/FBGraphLocation.h +0 -77
- data/lib/vendor/FacebookSDK.framework/Versions/Current/Headers/FBGraphObject.h +0 -224
- data/lib/vendor/FacebookSDK.framework/Versions/Current/Headers/FBGraphPlace.h +0 -60
- data/lib/vendor/FacebookSDK.framework/Versions/Current/Headers/FBGraphUser.h +0 -90
- data/lib/vendor/FacebookSDK.framework/Versions/Current/Headers/FBInsights.h +0 -271
- data/lib/vendor/FacebookSDK.framework/Versions/Current/Headers/FBLoginView.h +0 -178
- data/lib/vendor/FacebookSDK.framework/Versions/Current/Headers/FBNativeDialogs.h +0 -170
- data/lib/vendor/FacebookSDK.framework/Versions/Current/Headers/FBOpenGraphAction.h +0 -127
- data/lib/vendor/FacebookSDK.framework/Versions/Current/Headers/FBPlacePickerViewController.h +0 -257
- data/lib/vendor/FacebookSDK.framework/Versions/Current/Headers/FBProfilePictureView.h +0 -80
- data/lib/vendor/FacebookSDK.framework/Versions/Current/Headers/FBRequest.h +0 -504
- data/lib/vendor/FacebookSDK.framework/Versions/Current/Headers/FBRequestConnection.h +0 -389
- data/lib/vendor/FacebookSDK.framework/Versions/Current/Headers/FBSession.h +0 -751
- data/lib/vendor/FacebookSDK.framework/Versions/Current/Headers/FBSessionTokenCachingStrategy.h +0 -152
- data/lib/vendor/FacebookSDK.framework/Versions/Current/Headers/FBSettings.h +0 -136
- data/lib/vendor/FacebookSDK.framework/Versions/Current/Headers/FBTestSession.h +0 -135
- data/lib/vendor/FacebookSDK.framework/Versions/Current/Headers/FBUserSettingsViewController.h +0 -127
- data/lib/vendor/FacebookSDK.framework/Versions/Current/Headers/FBViewController.h +0 -118
- data/lib/vendor/FacebookSDK.framework/Versions/Current/Headers/FBWebDialogs.h +0 -234
- data/lib/vendor/FacebookSDK.framework/Versions/Current/Headers/FacebookSDK.h +0 -132
- data/lib/vendor/FacebookSDK.framework/Versions/Current/Headers/NSError+FBError.h +0 -59
- data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FBUserSettingsViewResources.bundle/Contents/Resources/en.lproj/Localizable.strings +0 -0
- data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FBUserSettingsViewResources.bundle/Contents/Resources/he.lproj/Localizable.strings +0 -0
- data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FBUserSettingsViewResources.bundle/images/facebook-logo.png +0 -0
- data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FBUserSettingsViewResources.bundle/images/facebook-logo@2x.png +0 -0
- data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FBUserSettingsViewResources.bundle/images/loginBackgroundIPadLandscape.jpg +0 -0
- data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FBUserSettingsViewResources.bundle/images/loginBackgroundIPadLandscape@2x.jpg +0 -0
- data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FBUserSettingsViewResources.bundle/images/loginBackgroundIPadPortrait.jpg +0 -0
- data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FBUserSettingsViewResources.bundle/images/loginBackgroundIPadPortrait@2x.jpg +0 -0
- data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FBUserSettingsViewResources.bundle/images/loginBackgroundIPhonePortrait.jpg +0 -0
- data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FBUserSettingsViewResources.bundle/images/loginBackgroundIPhonePortrait@2x.jpg +0 -0
- data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FBUserSettingsViewResources.bundle/images/silver-button-normal.png +0 -0
- data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FBUserSettingsViewResources.bundle/images/silver-button-normal@2x.png +0 -0
- data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FBUserSettingsViewResources.bundle/images/silver-button-pressed.png +0 -0
- data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FBUserSettingsViewResources.bundle/images/silver-button-pressed@2x.png +0 -0
- data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FacebookSDKResources.bundle/Contents/Resources/en.lproj/Localizable.strings +0 -0
- data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FacebookSDKResources.bundle/Contents/Resources/he.lproj/Localizable.strings +0 -0
- data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FacebookSDKResources.bundle/FBDialog/images/close.png +0 -0
- data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FacebookSDKResources.bundle/FBDialog/images/close@2x.png +0 -0
- data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FacebookSDKResources.bundle/FBDialog/images/fbicon.png +0 -0
- data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FacebookSDKResources.bundle/FBFriendPickerView/images/default.png +0 -0
- data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FacebookSDKResources.bundle/FBLoginView/images/bluetint.png +0 -0
- data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FacebookSDKResources.bundle/FBLoginView/images/f_logo.png +0 -0
- data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FacebookSDKResources.bundle/FBLoginView/images/facebook.png +0 -0
- data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FacebookSDKResources.bundle/FBLoginView/images/login-button-small-pressed.png +0 -0
- data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FacebookSDKResources.bundle/FBLoginView/images/login-button-small-pressed@2x.png +0 -0
- data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FacebookSDKResources.bundle/FBLoginView/images/login-button-small.png +0 -0
- data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FacebookSDKResources.bundle/FBLoginView/images/login-button-small@2x.png +0 -0
- data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FacebookSDKResources.bundle/FBPlacePickerView/images/fb_generic_place.png +0 -0
- data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FacebookSDKResources.bundle/FBProfilePictureView/images/fb_blank_profile_portrait.png +0 -0
- data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FacebookSDKResources.bundle/FBProfilePictureView/images/fb_blank_profile_square.png +0 -0
- data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/Info.plist +0 -20
@@ -1,281 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Copyright 2010 Facebook
|
3
|
-
*
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
-
* you may not use this file except in compliance with the License.
|
6
|
-
* You may obtain a copy of the License at
|
7
|
-
*
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
9
|
-
*
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
-
* See the License for the specific language governing permissions and
|
14
|
-
* limitations under the License.
|
15
|
-
*/
|
16
|
-
|
17
|
-
#import "FBLoginDialog.h"
|
18
|
-
#import "FBRequest.h"
|
19
|
-
#import "FBSessionManualTokenCachingStrategy.h"
|
20
|
-
#import "FBFrictionlessRequestSettings.h"
|
21
|
-
#import "FacebookSDK.h"
|
22
|
-
|
23
|
-
////////////////////////////////////////////////////////////////////////////////
|
24
|
-
// deprecated API
|
25
|
-
//
|
26
|
-
// Summary
|
27
|
-
// The classes, protocols, etc. in this header are provided for backward
|
28
|
-
// compatibility and migration; for new code, use FacebookSDK.h, and/or the
|
29
|
-
// public headers that it imports; for existing code under active development,
|
30
|
-
// Facebook.h imports FacebookSDK.h, and updates should favor the new interfaces
|
31
|
-
// whenever possible
|
32
|
-
|
33
|
-
// up-front decl's
|
34
|
-
@class FBFrictionlessRequestSettings;
|
35
|
-
@protocol FBRequestDelegate;
|
36
|
-
@protocol FBSessionDelegate;
|
37
|
-
|
38
|
-
/**
|
39
|
-
* Main Facebook interface for interacting with the Facebook developer API.
|
40
|
-
* Provides methods to log in and log out a user, make requests using the REST
|
41
|
-
* and Graph APIs, and start user interface interactions (such as
|
42
|
-
* pop-ups promoting for credentials, permissions, stream posts, etc.)
|
43
|
-
*/
|
44
|
-
@interface Facebook : NSObject<FBLoginDialogDelegate>{
|
45
|
-
id<FBSessionDelegate> _sessionDelegate;
|
46
|
-
NSMutableSet* _requests;
|
47
|
-
FBSession* _session;
|
48
|
-
FBSessionManualTokenCachingStrategy *_tokenCaching;
|
49
|
-
FBDialog* _fbDialog;
|
50
|
-
NSString* _appId;
|
51
|
-
NSString* _urlSchemeSuffix;
|
52
|
-
BOOL _isExtendingAccessToken;
|
53
|
-
FBRequest *_requestExtendingAccessToken;
|
54
|
-
NSDate* _lastAccessTokenUpdate;
|
55
|
-
FBFrictionlessRequestSettings* _frictionlessRequestSettings;
|
56
|
-
}
|
57
|
-
|
58
|
-
@property(nonatomic, copy) NSString* accessToken;
|
59
|
-
@property(nonatomic, copy) NSDate* expirationDate;
|
60
|
-
@property(nonatomic, assign) id<FBSessionDelegate> sessionDelegate;
|
61
|
-
@property(nonatomic, copy) NSString* urlSchemeSuffix;
|
62
|
-
@property(nonatomic, readonly) BOOL isFrictionlessRequestsEnabled;
|
63
|
-
@property(nonatomic, readonly, retain) FBSession *session;
|
64
|
-
|
65
|
-
- (id)initWithAppId:(NSString *)appId
|
66
|
-
andDelegate:(id<FBSessionDelegate>)delegate;
|
67
|
-
|
68
|
-
- (id)initWithAppId:(NSString *)appId
|
69
|
-
urlSchemeSuffix:(NSString *)urlSchemeSuffix
|
70
|
-
andDelegate:(id<FBSessionDelegate>)delegate;
|
71
|
-
|
72
|
-
- (void)authorize:(NSArray *)permissions;
|
73
|
-
|
74
|
-
- (void)extendAccessToken;
|
75
|
-
|
76
|
-
- (void)extendAccessTokenIfNeeded;
|
77
|
-
|
78
|
-
- (BOOL)shouldExtendAccessToken;
|
79
|
-
|
80
|
-
- (BOOL)handleOpenURL:(NSURL *)url;
|
81
|
-
|
82
|
-
- (void)logout;
|
83
|
-
|
84
|
-
- (void)logout:(id<FBSessionDelegate>)delegate;
|
85
|
-
|
86
|
-
- (FBRequest*)requestWithParams:(NSMutableDictionary *)params
|
87
|
-
andDelegate:(id <FBRequestDelegate>)delegate;
|
88
|
-
|
89
|
-
- (FBRequest*)requestWithMethodName:(NSString *)methodName
|
90
|
-
andParams:(NSMutableDictionary *)params
|
91
|
-
andHttpMethod:(NSString *)httpMethod
|
92
|
-
andDelegate:(id <FBRequestDelegate>)delegate;
|
93
|
-
|
94
|
-
- (FBRequest*)requestWithGraphPath:(NSString *)graphPath
|
95
|
-
andDelegate:(id <FBRequestDelegate>)delegate;
|
96
|
-
|
97
|
-
- (FBRequest*)requestWithGraphPath:(NSString *)graphPath
|
98
|
-
andParams:(NSMutableDictionary *)params
|
99
|
-
andDelegate:(id <FBRequestDelegate>)delegate;
|
100
|
-
|
101
|
-
- (FBRequest*)requestWithGraphPath:(NSString *)graphPath
|
102
|
-
andParams:(NSMutableDictionary *)params
|
103
|
-
andHttpMethod:(NSString *)httpMethod
|
104
|
-
andDelegate:(id <FBRequestDelegate>)delegate;
|
105
|
-
|
106
|
-
- (void)dialog:(NSString *)action
|
107
|
-
andDelegate:(id<FBDialogDelegate>)delegate;
|
108
|
-
|
109
|
-
- (void)dialog:(NSString *)action
|
110
|
-
andParams:(NSMutableDictionary *)params
|
111
|
-
andDelegate:(id <FBDialogDelegate>)delegate;
|
112
|
-
|
113
|
-
- (BOOL)isSessionValid;
|
114
|
-
|
115
|
-
- (void)enableFrictionlessRequests;
|
116
|
-
|
117
|
-
- (void)reloadFrictionlessRecipientCache;
|
118
|
-
|
119
|
-
- (BOOL)isFrictionlessEnabledForRecipient:(id)fbid;
|
120
|
-
|
121
|
-
- (BOOL)isFrictionlessEnabledForRecipients:(NSArray*)fbids;
|
122
|
-
|
123
|
-
@end
|
124
|
-
|
125
|
-
////////////////////////////////////////////////////////////////////////////////
|
126
|
-
|
127
|
-
/**
|
128
|
-
* Your application should implement this delegate to receive session callbacks.
|
129
|
-
*/
|
130
|
-
@protocol FBSessionDelegate <NSObject>
|
131
|
-
|
132
|
-
/**
|
133
|
-
* Called when the user successfully logged in.
|
134
|
-
*/
|
135
|
-
- (void)fbDidLogin;
|
136
|
-
|
137
|
-
/**
|
138
|
-
* Called when the user dismissed the dialog without logging in.
|
139
|
-
*/
|
140
|
-
- (void)fbDidNotLogin:(BOOL)cancelled;
|
141
|
-
|
142
|
-
/**
|
143
|
-
* Called after the access token was extended. If your application has any
|
144
|
-
* references to the previous access token (for example, if your application
|
145
|
-
* stores the previous access token in persistent storage), your application
|
146
|
-
* should overwrite the old access token with the new one in this method.
|
147
|
-
* See extendAccessToken for more details.
|
148
|
-
*/
|
149
|
-
- (void)fbDidExtendToken:(NSString*)accessToken
|
150
|
-
expiresAt:(NSDate*)expiresAt;
|
151
|
-
|
152
|
-
/**
|
153
|
-
* Called when the user logged out.
|
154
|
-
*/
|
155
|
-
- (void)fbDidLogout;
|
156
|
-
|
157
|
-
/**
|
158
|
-
* Called when the current session has expired. This might happen when:
|
159
|
-
* - the access token expired
|
160
|
-
* - the app has been disabled
|
161
|
-
* - the user revoked the app's permissions
|
162
|
-
* - the user changed his or her password
|
163
|
-
*/
|
164
|
-
- (void)fbSessionInvalidated;
|
165
|
-
|
166
|
-
@end
|
167
|
-
|
168
|
-
@protocol FBRequestDelegate;
|
169
|
-
|
170
|
-
enum {
|
171
|
-
kFBRequestStateReady,
|
172
|
-
kFBRequestStateLoading,
|
173
|
-
kFBRequestStateComplete,
|
174
|
-
kFBRequestStateError
|
175
|
-
};
|
176
|
-
|
177
|
-
// FBRequest(Deprecated)
|
178
|
-
//
|
179
|
-
// Summary
|
180
|
-
// The deprecated category is used to maintain back compat and ease migration
|
181
|
-
// to the revised SDK for iOS
|
182
|
-
|
183
|
-
/**
|
184
|
-
* Do not use this interface directly, instead, use method in Facebook.h
|
185
|
-
*/
|
186
|
-
@interface FBRequest(Deprecated)
|
187
|
-
|
188
|
-
@property(nonatomic,assign) id<FBRequestDelegate> delegate;
|
189
|
-
|
190
|
-
/**
|
191
|
-
* The URL which will be contacted to execute the request.
|
192
|
-
*/
|
193
|
-
@property(nonatomic,copy) NSString* url;
|
194
|
-
|
195
|
-
/**
|
196
|
-
* The API method which will be called.
|
197
|
-
*/
|
198
|
-
@property(nonatomic,copy) NSString* httpMethod;
|
199
|
-
|
200
|
-
/**
|
201
|
-
* The dictionary of parameters to pass to the method.
|
202
|
-
*
|
203
|
-
* These values in the dictionary will be converted to strings using the
|
204
|
-
* standard Objective-C object-to-string conversion facilities.
|
205
|
-
*/
|
206
|
-
@property(nonatomic,retain) NSMutableDictionary* params;
|
207
|
-
@property(nonatomic,retain) NSURLConnection* connection;
|
208
|
-
@property(nonatomic,retain) NSMutableData* responseText;
|
209
|
-
#pragma GCC diagnostic push
|
210
|
-
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
211
|
-
@property(nonatomic) FBRequestState state;
|
212
|
-
#pragma GCC diagnostic pop
|
213
|
-
@property(nonatomic) BOOL sessionDidExpire;
|
214
|
-
|
215
|
-
/**
|
216
|
-
* Error returned by the server in case of request's failure (or nil otherwise).
|
217
|
-
*/
|
218
|
-
@property(nonatomic,retain) NSError* error;
|
219
|
-
|
220
|
-
- (BOOL) loading;
|
221
|
-
|
222
|
-
+ (NSString *)serializeURL:(NSString *)baseUrl
|
223
|
-
params:(NSDictionary *)params;
|
224
|
-
|
225
|
-
+ (NSString*)serializeURL:(NSString *)baseUrl
|
226
|
-
params:(NSDictionary *)params
|
227
|
-
httpMethod:(NSString *)httpMethod;
|
228
|
-
|
229
|
-
@end
|
230
|
-
|
231
|
-
////////////////////////////////////////////////////////////////////////////////
|
232
|
-
|
233
|
-
/*
|
234
|
-
*Your application should implement this delegate
|
235
|
-
*/
|
236
|
-
@protocol FBRequestDelegate <NSObject>
|
237
|
-
|
238
|
-
@optional
|
239
|
-
|
240
|
-
/**
|
241
|
-
* Called just before the request is sent to the server.
|
242
|
-
*/
|
243
|
-
- (void)requestLoading:(FBRequest *)request;
|
244
|
-
|
245
|
-
/**
|
246
|
-
* Called when the Facebook API request has returned a response.
|
247
|
-
*
|
248
|
-
* This callback gives you access to the raw response. It's called before
|
249
|
-
* (void)request:(FBRequest *)request didLoad:(id)result,
|
250
|
-
* which is passed the parsed response object.
|
251
|
-
*/
|
252
|
-
- (void)request:(FBRequest *)request didReceiveResponse:(NSURLResponse *)response;
|
253
|
-
|
254
|
-
/**
|
255
|
-
* Called when an error prevents the request from completing successfully.
|
256
|
-
*/
|
257
|
-
- (void)request:(FBRequest *)request didFailWithError:(NSError *)error;
|
258
|
-
|
259
|
-
/**
|
260
|
-
* Called when a request returns and its response has been parsed into
|
261
|
-
* an object.
|
262
|
-
*
|
263
|
-
* The resulting object may be a dictionary, an array or a string, depending
|
264
|
-
* on the format of the API response. If you need access to the raw response,
|
265
|
-
* use:
|
266
|
-
*
|
267
|
-
* (void)request:(FBRequest *)request
|
268
|
-
* didReceiveResponse:(NSURLResponse *)response
|
269
|
-
*/
|
270
|
-
- (void)request:(FBRequest *)request didLoad:(id)result;
|
271
|
-
|
272
|
-
/**
|
273
|
-
* Called when a request returns a response.
|
274
|
-
*
|
275
|
-
* The result object is the raw response from the server of type NSData
|
276
|
-
*/
|
277
|
-
- (void)request:(FBRequest *)request didLoadRawResponse:(NSData *)data;
|
278
|
-
|
279
|
-
@end
|
280
|
-
|
281
|
-
|
@@ -1,132 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Copyright 2012
|
3
|
-
*
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
-
* you may not use this file except in compliance with the License.
|
6
|
-
* You may obtain a copy of the License at
|
7
|
-
*
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
9
|
-
*
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
-
* See the License for the specific language governing permissions and
|
14
|
-
* limitations under the License.
|
15
|
-
*/
|
16
|
-
|
17
|
-
// core
|
18
|
-
#import "FBSession.h"
|
19
|
-
#import "FBAccessTokenData.h"
|
20
|
-
#import "FBRequest.h"
|
21
|
-
#import "FBError.h"
|
22
|
-
#import "NSError+FBError.h"
|
23
|
-
#import "FBSettings.h"
|
24
|
-
#import "FBInsights.h"
|
25
|
-
|
26
|
-
// graph
|
27
|
-
#import "FBGraphUser.h"
|
28
|
-
#import "FBGraphPlace.h"
|
29
|
-
#import "FBGraphLocation.h"
|
30
|
-
#import "FBGraphObject.h" // + design summary for graph component-group
|
31
|
-
#import "FBOpenGraphAction.h"
|
32
|
-
|
33
|
-
// ux
|
34
|
-
#import "FBLoginView.h"
|
35
|
-
#import "FBProfilePictureView.h"
|
36
|
-
#import "FBUserSettingsViewController.h"
|
37
|
-
#import "FBPlacePickerViewController.h"
|
38
|
-
#import "FBFriendPickerViewController.h"
|
39
|
-
#import "FBCacheDescriptor.h"
|
40
|
-
#import "FBNativeDialogs.h"
|
41
|
-
#import "FBWebDialogs.h"
|
42
|
-
#import "FBFrictionlessRecipientCache.h"
|
43
|
-
|
44
|
-
/*!
|
45
|
-
@header
|
46
|
-
|
47
|
-
@abstract Library header, import this to import all of the public types
|
48
|
-
in the Facebook SDK
|
49
|
-
|
50
|
-
@discussion
|
51
|
-
|
52
|
-
////////////////////////////////////////////////////////////////////////////////
|
53
|
-
|
54
|
-
|
55
|
-
Summary: this header summarizes the structure and goals of the Facebook SDK for iOS.
|
56
|
-
Goals:
|
57
|
-
* Leverage and work well with modern features of iOS (e.g. blocks, ARC, etc.)
|
58
|
-
* Patterned after best of breed iOS frameworks (e.g. naming, pattern-use, etc.)
|
59
|
-
* Common integration experience is simple & easy to describe
|
60
|
-
* Factored to enable a growing list of scenarios over time
|
61
|
-
|
62
|
-
Notes on approaches:
|
63
|
-
1. We use a key scenario to drive prioritization of work for a given update
|
64
|
-
2. We are building-atop and refactoring, rather than replacing, existing iOS SDK releases
|
65
|
-
3. We use take an incremental approach where we can choose to maintain as little or as much compatibility with the existing SDK needed
|
66
|
-
a) and so we will be developing to this approach
|
67
|
-
b) and then at push-time for a release we will decide when/what to break
|
68
|
-
on a feature by feature basis
|
69
|
-
4. Some light but critical infrastructure is needed to support both the goals
|
70
|
-
and the execution of this change (e.g. a build/package/deploy process)
|
71
|
-
|
72
|
-
Design points:
|
73
|
-
We will move to a more object-oriented approach, in order to facilitate the
|
74
|
-
addition of a different class of objects, such as controls and visual helpers
|
75
|
-
(e.g. FBLikeView, FBPersonView), as well as sub-frameworks to enable scenarios
|
76
|
-
such (e.g. FBOpenGraphEntity, FBLocalEntityCache, etc.)
|
77
|
-
|
78
|
-
As we add features, it will no longer be appropriate to host all functionality
|
79
|
-
in the Facebook class, though it will be maintained for some time for migration
|
80
|
-
purposes. Instead functionality lives in related collections of classes.
|
81
|
-
|
82
|
-
<pre>
|
83
|
-
@textblock
|
84
|
-
|
85
|
-
*------------* *----------* *----------------* *---*
|
86
|
-
Scenario --> |FBPersonView| |FBLikeView| | FBPlacePicker | | F |
|
87
|
-
*------------* *----------* *----------------* | a |
|
88
|
-
*-------------------* *----------* *--------* | c |
|
89
|
-
Component --> | FBGraphObject | | FBDialog | | FBView | | e |
|
90
|
-
*-------------------* *----------* *--------* | b |
|
91
|
-
*---------* *---------* *---------------------* | o |
|
92
|
-
Core --> |FBSession| |FBRequest| |Utilities (e.g. JSON)| | o |
|
93
|
-
*---------* *---------* *---------------------* * k *
|
94
|
-
|
95
|
-
@/textblock
|
96
|
-
</pre>
|
97
|
-
|
98
|
-
The figure above describes three layers of functionality, with the existing
|
99
|
-
Facebook on the side as a helper proxy to a subset of the overall SDK. The
|
100
|
-
layers loosely organize the SDK into *Core Objects* necessary to interface
|
101
|
-
with Facebook, higher-level *Framework Components* that feel like natural
|
102
|
-
extensions to existing frameworks such as UIKit and Foundation, but which
|
103
|
-
surface behavior broadly applicable to Facebook, and finally the
|
104
|
-
*Scenario Objects*, which provide deeper turn-key capibilities for useful
|
105
|
-
mobile scenarios.
|
106
|
-
|
107
|
-
Use example (low barrier use case):
|
108
|
-
|
109
|
-
<pre>
|
110
|
-
@textblock
|
111
|
-
|
112
|
-
// log on to Facebook
|
113
|
-
[FBSession sessionOpenWithPermissions:nil
|
114
|
-
completionHandler:^(FBSession *session,
|
115
|
-
FBSessionState status,
|
116
|
-
NSError *error) {
|
117
|
-
if (session.isOpen) {
|
118
|
-
// request basic information for the user
|
119
|
-
[FBRequestConnection startWithGraphPath:@"me"
|
120
|
-
completionHandler:^void(FBRequestConnection *request,
|
121
|
-
id result,
|
122
|
-
NSError *error) {
|
123
|
-
if (!error) {
|
124
|
-
// get json from result
|
125
|
-
}
|
126
|
-
}];
|
127
|
-
}
|
128
|
-
}];
|
129
|
-
@/textblock
|
130
|
-
</pre>
|
131
|
-
|
132
|
-
*/
|
@@ -1,59 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Copyright 2012 Facebook
|
3
|
-
*
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
-
* you may not use this file except in compliance with the License.
|
6
|
-
* You may obtain a copy of the License at
|
7
|
-
*
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
9
|
-
*
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
-
* See the License for the specific language governing permissions and
|
14
|
-
* limitations under the License.
|
15
|
-
*/
|
16
|
-
|
17
|
-
#import "FBError.h"
|
18
|
-
|
19
|
-
/*!
|
20
|
-
@category NSError(FBError)
|
21
|
-
|
22
|
-
@abstract
|
23
|
-
Adds additional properties to NSError to provide more information for Facebook related errors.
|
24
|
-
*/
|
25
|
-
@interface NSError (FBError)
|
26
|
-
|
27
|
-
/*!
|
28
|
-
@abstract
|
29
|
-
Categorizes the error, if it is Facebook related, to simplify application mitigation behavior
|
30
|
-
|
31
|
-
@discussion
|
32
|
-
In general, in response to an error connecting to Facebook, an application should, retry the
|
33
|
-
operation, request permissions, reconnect the application, or prompt the user to take an action.
|
34
|
-
The error category can be used to understand the class of error received from Facebook. For more infomation on this
|
35
|
-
see https://developers.facebook.com/docs/reference/api/errors/
|
36
|
-
*/
|
37
|
-
@property (readonly) FBErrorCategory fberrorCategory;
|
38
|
-
|
39
|
-
/*!
|
40
|
-
@abstract
|
41
|
-
If YES indicates that a user action is required in order to successfully continue with the facebook operation
|
42
|
-
|
43
|
-
@discussion
|
44
|
-
In general if fberrorShouldNotifyUser is NO, then the application has a straightforward mitigation, such as
|
45
|
-
retry the operation or request permissions from the user, etc. In some cases it is necessary for the user to
|
46
|
-
take an action before the application continues to attempt a Facebook connection. For more infomation on this
|
47
|
-
see https://developers.facebook.com/docs/reference/api/errors/
|
48
|
-
*/
|
49
|
-
@property (readonly) BOOL fberrorShouldNotifyUser;
|
50
|
-
|
51
|
-
/*!
|
52
|
-
@abstract
|
53
|
-
A message suitable for display to the user, describing a user action necessary to enable Facebook functionality.
|
54
|
-
Not all Facebook errors yield a message suitable for user display; however in all cases where
|
55
|
-
fberrorShouldNotifyUser is YES, this property returns a localizable message suitable for display.
|
56
|
-
*/
|
57
|
-
@property (readonly, copy) NSString *fberrorUserMessage;
|
58
|
-
|
59
|
-
@end
|