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,274 +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 <Foundation/Foundation.h>
|
18
|
-
|
19
|
-
/*!
|
20
|
-
The NSError domain of all errors returned by the Facebook SDK.
|
21
|
-
*/
|
22
|
-
extern NSString *const FacebookSDKDomain;
|
23
|
-
|
24
|
-
/*!
|
25
|
-
The key in the userInfo NSDictionary of NSError where you can find
|
26
|
-
the inner NSError (if any).
|
27
|
-
*/
|
28
|
-
extern NSString *const FBErrorInnerErrorKey;
|
29
|
-
|
30
|
-
/*!
|
31
|
-
The key in the userInfo NSDictionary of NSError for the parsed JSON response
|
32
|
-
from the server. In case of a batch, includes the JSON for a single FBRequest.
|
33
|
-
*/
|
34
|
-
extern NSString *const FBErrorParsedJSONResponseKey;
|
35
|
-
|
36
|
-
/*!
|
37
|
-
The key in the userInfo NSDictionary of NSError indicating
|
38
|
-
the HTTP status code of the response (if any).
|
39
|
-
*/
|
40
|
-
extern NSString *const FBErrorHTTPStatusCodeKey;
|
41
|
-
|
42
|
-
/*!
|
43
|
-
@abstract Error codes returned by the Facebook SDK in NSError.
|
44
|
-
|
45
|
-
@discussion
|
46
|
-
These are valid only in the scope of FacebookSDKDomain.
|
47
|
-
*/
|
48
|
-
typedef enum FBErrorCode {
|
49
|
-
/*!
|
50
|
-
Like nil for FBErrorCode values, represents an error code that
|
51
|
-
has not been initialized yet.
|
52
|
-
*/
|
53
|
-
FBErrorInvalid = 0,
|
54
|
-
|
55
|
-
/// The operation failed because it was cancelled.
|
56
|
-
FBErrorOperationCancelled,
|
57
|
-
|
58
|
-
/// A login attempt failed
|
59
|
-
FBErrorLoginFailedOrCancelled,
|
60
|
-
|
61
|
-
/// The graph API returned an error for this operation.
|
62
|
-
FBErrorRequestConnectionApi,
|
63
|
-
|
64
|
-
/*!
|
65
|
-
The operation failed because the server returned an unexpected
|
66
|
-
response. You can get this error if you are not using the most
|
67
|
-
recent SDK, or if you set your application's migration settings
|
68
|
-
incorrectly for the version of the SDK you are using.
|
69
|
-
|
70
|
-
If this occurs on the current SDK with proper app migration
|
71
|
-
settings, you may need to try changing to one request per batch.
|
72
|
-
*/
|
73
|
-
FBErrorProtocolMismatch,
|
74
|
-
|
75
|
-
/// Non-success HTTP status code was returned from the operation.
|
76
|
-
FBErrorHTTPError,
|
77
|
-
|
78
|
-
/// An endpoint that returns a binary response was used with FBRequestConnection;
|
79
|
-
/// endpoints that return image/jpg, etc. should be accessed using NSURLRequest
|
80
|
-
FBErrorNonTextMimeTypeReturned,
|
81
|
-
|
82
|
-
/// An error occurred while trying to display a native dialog
|
83
|
-
FBErrorNativeDialog,
|
84
|
-
|
85
|
-
/// An error occurred using the FBInsights class
|
86
|
-
FBErrorInsights,
|
87
|
-
|
88
|
-
/// An error occurred related to an iOS API call
|
89
|
-
FBErrorSystemAPI,
|
90
|
-
|
91
|
-
/// An error occurred while trying to fetch publish install response data
|
92
|
-
FBErrorPublishInstallResponse,
|
93
|
-
} FBErrorCode;
|
94
|
-
|
95
|
-
/*!
|
96
|
-
@typedef FBErrorCategory enum
|
97
|
-
|
98
|
-
@abstract Indicates the Facebook SDK classification for the error
|
99
|
-
|
100
|
-
@discussion
|
101
|
-
*/
|
102
|
-
typedef enum {
|
103
|
-
/*! Indicates that the error category is invalid and likely represents an error that
|
104
|
-
is unrelated to Facebook or the Facebook SDK */
|
105
|
-
FBErrorCategoryInvalid = 0,
|
106
|
-
/*! Indicates that the error may be authentication related but the application should retry the operation.
|
107
|
-
This case may involve user action that must be taken, and so the application should also test
|
108
|
-
the fberrorShouldNotifyUser property and if YES display fberrorUserMessage to the user before retrying.*/
|
109
|
-
FBErrorCategoryRetry = 1,
|
110
|
-
/*! Indicates that the error is authentication related and the application should reopen the session*/
|
111
|
-
FBErrorCategoryAuthenticationReopenSession = 2,
|
112
|
-
/*! Indicates that the error is permission related */
|
113
|
-
FBErrorCategoryPermissions = 3,
|
114
|
-
/*! Indicates that the error implies that the server had an unexpected failure or may be temporarily down */
|
115
|
-
FBErrorCategoryServer = 4,
|
116
|
-
/*! Indicates that the error results from the server throttling the client */
|
117
|
-
FBErrorCategoryThrottling = 5,
|
118
|
-
/*! Indicates the user cancelled the operation */
|
119
|
-
FBErrorCategoryUserCancelled = 6,
|
120
|
-
/*! Indicates that the error is Facebook-related but is uncategorizable, and likely newer than the
|
121
|
-
current version of the SDK */
|
122
|
-
FBErrorCategoryFacebookOther = -1,
|
123
|
-
/*! Indicates that the error is an application error resulting in a bad or malformed request to the server. */
|
124
|
-
FBErrorCategoryBadRequest = -2,
|
125
|
-
} FBErrorCategory;
|
126
|
-
|
127
|
-
/*!
|
128
|
-
The key in the userInfo NSDictionary of NSError where you can find
|
129
|
-
the inner NSError (if any).
|
130
|
-
*/
|
131
|
-
extern NSString *const FBErrorInnerErrorKey;
|
132
|
-
|
133
|
-
/*!
|
134
|
-
The key in the userInfo NSDictionary of NSError where you can find
|
135
|
-
the session associated with the error (if any).
|
136
|
-
*/
|
137
|
-
extern NSString *const FBErrorSessionKey;
|
138
|
-
|
139
|
-
/*!
|
140
|
-
The key in the userInfo NSDictionary of NSError for unsuccessful
|
141
|
-
logins (error.code equals FBErrorLoginFailedOrCancelled). If present,
|
142
|
-
the value will be one of the constants prefixed by FBErrorLoginFailedReason*.
|
143
|
-
*/
|
144
|
-
extern NSString *const FBErrorLoginFailedReason;
|
145
|
-
|
146
|
-
/*!
|
147
|
-
The key in the userInfo NSDictionary of NSError for unsuccessful
|
148
|
-
logins (error.code equals FBErrorLoginFailedOrCancelled). If present,
|
149
|
-
the value indicates an original login error code wrapped by this error.
|
150
|
-
This is only used in the web dialog login flow.
|
151
|
-
*/
|
152
|
-
extern NSString *const FBErrorLoginFailedOriginalErrorCode;
|
153
|
-
|
154
|
-
/*!
|
155
|
-
A value that may appear in an NSError userInfo dictionary under the
|
156
|
-
`FBErrorLoginFailedReason` key for login failures. Indicates the user
|
157
|
-
cancelled a web dialog auth.
|
158
|
-
*/
|
159
|
-
extern NSString *const FBErrorLoginFailedReasonInlineCancelledValue;
|
160
|
-
|
161
|
-
/*!
|
162
|
-
A value that may appear in an NSError userInfo dictionary under the
|
163
|
-
`FBErrorLoginFailedReason` key for login failures. Indicates the user
|
164
|
-
did not cancel a web dialog auth.
|
165
|
-
*/
|
166
|
-
extern NSString *const FBErrorLoginFailedReasonInlineNotCancelledValue;
|
167
|
-
|
168
|
-
/*!
|
169
|
-
A value that may appear in an NSError userInfo dictionary under the
|
170
|
-
`FBErrorLoginFailedReason` key for login failures. Indicates the user
|
171
|
-
cancelled a non-iOS 6 SSO (either Safari or Facebook App) login.
|
172
|
-
*/
|
173
|
-
extern NSString *const FBErrorLoginFailedReasonUserCancelledValue;
|
174
|
-
|
175
|
-
/*!
|
176
|
-
A value that may appear in an NSError userInfo dictionary under the
|
177
|
-
`FBErrorLoginFailedReason` key for login failures. Indicates the user
|
178
|
-
cancelled an iOS system login.
|
179
|
-
*/
|
180
|
-
extern NSString *const FBErrorLoginFailedReasonUserCancelledSystemValue;
|
181
|
-
|
182
|
-
/*!
|
183
|
-
A value that may appear in an NSError userInfo dictionary under the
|
184
|
-
`FBErrorLoginFailedReason` key for login failures. Indicates the app's
|
185
|
-
slider in iOS 6 (device Settings -> Privacy -> Facebook {app} ) has
|
186
|
-
been disabled.
|
187
|
-
*/
|
188
|
-
extern NSString *const FBErrorLoginFailedReasonSystemDisallowedWithoutErrorValue;
|
189
|
-
|
190
|
-
/*!
|
191
|
-
A value that may appear in an NSError userInfo dictionary under the
|
192
|
-
`FBErrorLoginFailedReason` key for login failures. Indicates an error
|
193
|
-
has occurred when requesting Facebook account acccess in iOS 6 that was
|
194
|
-
not `FBErrorLoginFailedReasonSystemDisallowedWithoutErrorValue` nor
|
195
|
-
a user cancellation.
|
196
|
-
*/
|
197
|
-
extern NSString *const FBErrorLoginFailedReasonSystemError;
|
198
|
-
extern NSString *const FBErrorLoginFailedReasonUnitTestResponseUnrecognized;
|
199
|
-
|
200
|
-
/*!
|
201
|
-
A value that may appear in the NSError userInfo dictionary under the
|
202
|
-
`FBErrorLoginFailedReason` key when requesting new permissions fails. Indicates
|
203
|
-
the request for new permissions has failed because the session was closed.
|
204
|
-
*/
|
205
|
-
extern NSString *const FBErrorReauthorizeFailedReasonSessionClosed;
|
206
|
-
|
207
|
-
/*!
|
208
|
-
A value that may appear in the NSError userInfo dictionary under the
|
209
|
-
`FBErrorLoginFailedReason` key when requesting new permissions fails. Indicates
|
210
|
-
the request for new permissions has failed because the user cancelled.
|
211
|
-
*/
|
212
|
-
extern NSString *const FBErrorReauthorizeFailedReasonUserCancelled;
|
213
|
-
|
214
|
-
/*!
|
215
|
-
A value that may appear in the NSError userInfo dictionary under the
|
216
|
-
`FBErrorLoginFailedReason` key when requesting new permissions fails on
|
217
|
-
iOS 6 with the Facebook account. Indicates the request for new permissions has
|
218
|
-
failed because the user cancelled.
|
219
|
-
*/
|
220
|
-
extern NSString *const FBErrorReauthorizeFailedReasonUserCancelledSystem;
|
221
|
-
|
222
|
-
/*!
|
223
|
-
A value that may appear in the NSError userInfo dictionary under the
|
224
|
-
`FBErrorLoginFailedReason` key when requesting new permissions fails. Indicates
|
225
|
-
the request for new permissions has failed because the request was
|
226
|
-
for a different user than the original permission set.
|
227
|
-
*/
|
228
|
-
extern NSString *const FBErrorReauthorizeFailedReasonWrongUser;
|
229
|
-
|
230
|
-
/*!
|
231
|
-
The key in the userInfo NSDictionary of NSError for errors
|
232
|
-
encountered with `FBNativeDialog` operations. (error.code equals FBErrorNativeDialog).
|
233
|
-
If present, the value will be one of the constants prefixed by FBErrorNativeDialog*.
|
234
|
-
*/
|
235
|
-
extern NSString *const FBErrorNativeDialogReasonKey;
|
236
|
-
|
237
|
-
/*!
|
238
|
-
A value that may appear in the NSError userInfo dictionary under the
|
239
|
-
`FBErrorNativeDialogReasonKey` key. Indicates that a native dialog is not supported
|
240
|
-
in the current OS.
|
241
|
-
*/
|
242
|
-
extern NSString *const FBErrorNativeDialogNotSupported;
|
243
|
-
|
244
|
-
/*!
|
245
|
-
A value that may appear in the NSError userInfo dictionary under the
|
246
|
-
`FBErrorNativeDialogReasonKey` key. Indicates that a native dialog cannot be
|
247
|
-
displayed because it is not appropriate for the current session.
|
248
|
-
*/
|
249
|
-
extern NSString *const FBErrorNativeDialogInvalidForSession;
|
250
|
-
|
251
|
-
/*!
|
252
|
-
A value that may appear in the NSError userInfo dictionary under the
|
253
|
-
`FBErrorNativeDialogReasonKey` key. Indicates that a native dialog cannot be
|
254
|
-
displayed for some other reason.
|
255
|
-
*/
|
256
|
-
extern NSString *const FBErrorNativeDialogCantBeDisplayed;
|
257
|
-
|
258
|
-
/*!
|
259
|
-
The key in the userInfo NSDictionary of NSError for errors
|
260
|
-
encountered with `FBInsights` operations (error.code equals FBErrorInsights).
|
261
|
-
*/
|
262
|
-
extern NSString *const FBErrorInsightsReasonKey;
|
263
|
-
|
264
|
-
// Exception strings raised by the Facebook SDK
|
265
|
-
|
266
|
-
/*!
|
267
|
-
This exception is raised by methods in the Facebook SDK to indicate
|
268
|
-
that an attempted operation is invalid
|
269
|
-
*/
|
270
|
-
extern NSString *const FBInvalidOperationException;
|
271
|
-
|
272
|
-
// Facebook SDK also raises exceptions the following common exceptions:
|
273
|
-
// NSInvalidArgumentException
|
274
|
-
|
@@ -1,86 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Copyright 2013 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
|
-
#import <Foundation/Foundation.h>
|
17
|
-
#import "FBWebDialogs.h"
|
18
|
-
#import "FBRequest.h"
|
19
|
-
#import "FBCacheDescriptor.h"
|
20
|
-
|
21
|
-
/*!
|
22
|
-
@class FBFrictionlessRecipientCache
|
23
|
-
|
24
|
-
@abstract
|
25
|
-
Maintains a cache of friends that can recieve application requests from the user in
|
26
|
-
using the frictionless feature of the requests web dialog.
|
27
|
-
|
28
|
-
This class follows the `FBCacheDescriptor` pattern used elsewhere in the SDK, and applications may call
|
29
|
-
one of the prefetchAndCacheForSession methods to fetch a friend list prior to the
|
30
|
-
point where a dialog is presented. The cache is also updated with each presentation of the request
|
31
|
-
dialog using the cache instance.
|
32
|
-
*/
|
33
|
-
@interface FBFrictionlessRecipientCache : FBCacheDescriptor<FBWebDialogsDelegate>
|
34
|
-
|
35
|
-
/*!
|
36
|
-
@abstract
|
37
|
-
Initializes an empty cache instance
|
38
|
-
*/
|
39
|
-
- (id)init;
|
40
|
-
|
41
|
-
/*! @abstract An array containing the list of known FBIDs for recipients enabled for frictionless requests */
|
42
|
-
@property (nonatomic, readwrite, copy) NSArray *recipientIDs;
|
43
|
-
|
44
|
-
/*!
|
45
|
-
@abstract
|
46
|
-
Checks to see if a given user or FBID for a user is known to be enabled for
|
47
|
-
frictionless requestests
|
48
|
-
|
49
|
-
@param user An NSString, NSNumber of `FBGraphUser` representing a user to check
|
50
|
-
*/
|
51
|
-
- (BOOL)isFrictionlessRecipient:(id)user;
|
52
|
-
|
53
|
-
/*!
|
54
|
-
@abstract
|
55
|
-
Checks to see if a collection of users or FBIDs for users are known to be enabled for
|
56
|
-
frictionless requestests
|
57
|
-
|
58
|
-
@param users An NSArray of NSString, NSNumber of `FBGraphUser` objects
|
59
|
-
representing users to check
|
60
|
-
*/
|
61
|
-
- (BOOL)areFrictionlessRecipients:(NSArray*)users;
|
62
|
-
|
63
|
-
/*!
|
64
|
-
@abstract
|
65
|
-
Issues a request and fills the cache with a list of users to use for frictionless requests
|
66
|
-
|
67
|
-
@param session The session to use for the request; nil indicates that the Active Session should
|
68
|
-
be used
|
69
|
-
*/
|
70
|
-
- (void)prefetchAndCacheForSession:(FBSession *)session;
|
71
|
-
|
72
|
-
/*!
|
73
|
-
@abstract
|
74
|
-
Issues a request and fills the cache with a list of users to use for frictionless requests
|
75
|
-
|
76
|
-
@param session The session to use for the request; nil indicates that the Active Session should
|
77
|
-
be used
|
78
|
-
|
79
|
-
@param handler An optional completion handler, called when the request for cached users has
|
80
|
-
completed. It can be useful to use the handler to enable UI or perform other request-related
|
81
|
-
operations, after the cache is populated.
|
82
|
-
*/
|
83
|
-
- (void)prefetchAndCacheForSession:(FBSession *)session
|
84
|
-
completionHandler:(FBRequestHandler)handler;
|
85
|
-
|
86
|
-
@end
|
@@ -1,85 +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 <Foundation/Foundation.h>
|
18
|
-
|
19
|
-
@class Facebook;
|
20
|
-
@class FBRequest;
|
21
|
-
|
22
|
-
/**
|
23
|
-
* Do not use this interface directly, instead, use methods in Facebook.h
|
24
|
-
*
|
25
|
-
* Handles frictionless interaction and recipient-caching by the SDK,
|
26
|
-
* see https://developers.facebook.com/docs/reference/dialogs/requests/
|
27
|
-
*/
|
28
|
-
@interface FBFrictionlessRequestSettings : NSObject {
|
29
|
-
@private
|
30
|
-
NSArray* _allowedRecipients;
|
31
|
-
FBRequest* _activeRequest;
|
32
|
-
BOOL _enabled;
|
33
|
-
}
|
34
|
-
|
35
|
-
/**
|
36
|
-
* BOOL indicating whether frictionless request sending has been enabled
|
37
|
-
*/
|
38
|
-
@property(nonatomic, readonly) BOOL enabled;
|
39
|
-
|
40
|
-
/**
|
41
|
-
* NSArray of recipients
|
42
|
-
*/
|
43
|
-
@property(nonatomic, readonly) NSArray *recipientIDs;
|
44
|
-
|
45
|
-
/**
|
46
|
-
* Enable frictionless request sending by the sdk; this means:
|
47
|
-
* 1. query and cache the current set of frictionless recipients
|
48
|
-
* 2. flag other facets of the sdk to behave in a frictionless way
|
49
|
-
*/
|
50
|
-
- (void)enableWithFacebook:(Facebook*)facebook;
|
51
|
-
|
52
|
-
/**
|
53
|
-
* Reload recipient cache; called by the sdk to keep the cache fresh;
|
54
|
-
* method makes graph request: me/apprequestformerrecipients
|
55
|
-
*/
|
56
|
-
- (void)reloadRecipientCacheWithFacebook:(Facebook*)facebook;
|
57
|
-
|
58
|
-
/**
|
59
|
-
* Update the recipient cache; called by the sdk to keep the cache fresh;
|
60
|
-
*/
|
61
|
-
- (void)updateRecipientCacheWithRecipients:(NSArray*)ids;
|
62
|
-
|
63
|
-
/**
|
64
|
-
* Update the recipient cache, using a request result
|
65
|
-
*/
|
66
|
-
- (void)updateRecipientCacheWithRequestResult:(id)result;
|
67
|
-
|
68
|
-
/**
|
69
|
-
* Given an fbID for a user, indicates whether user is enabled for
|
70
|
-
* frictionless calls
|
71
|
-
*/
|
72
|
-
- (BOOL)isFrictionlessEnabledForRecipient:(id)fbid;
|
73
|
-
|
74
|
-
/**
|
75
|
-
* Given an array of user fbIDs, indicates whether they are enabled for
|
76
|
-
* frictionless calls
|
77
|
-
*/
|
78
|
-
- (BOOL)isFrictionlessEnabledForRecipients:(NSArray*)fbids;
|
79
|
-
|
80
|
-
/**
|
81
|
-
* init the frictionless cache object
|
82
|
-
*/
|
83
|
-
- (id)init;
|
84
|
-
|
85
|
-
@end
|
@@ -1,290 +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 <UIKit/UIKit.h>
|
18
|
-
#import "FBGraphUser.h"
|
19
|
-
#import "FBSession.h"
|
20
|
-
#import "FBCacheDescriptor.h"
|
21
|
-
#import "FBViewController.h"
|
22
|
-
|
23
|
-
@protocol FBFriendPickerDelegate;
|
24
|
-
@class FBFriendPickerCacheDescriptor;
|
25
|
-
|
26
|
-
/*!
|
27
|
-
@typedef FBFriendSortOrdering enum
|
28
|
-
|
29
|
-
@abstract Indicates the order in which friends should be listed in the friend picker.
|
30
|
-
|
31
|
-
@discussion
|
32
|
-
*/
|
33
|
-
typedef enum {
|
34
|
-
/*! Sort friends by first, middle, last names. */
|
35
|
-
FBFriendSortByFirstName,
|
36
|
-
/*! Sort friends by last, first, middle names. */
|
37
|
-
FBFriendSortByLastName
|
38
|
-
} FBFriendSortOrdering;
|
39
|
-
|
40
|
-
/*!
|
41
|
-
@typedef FBFriendDisplayOrdering enum
|
42
|
-
|
43
|
-
@abstract Indicates whether friends should be displayed first-name-first or last-name-first.
|
44
|
-
|
45
|
-
@discussion
|
46
|
-
*/
|
47
|
-
typedef enum {
|
48
|
-
/*! Display friends as First Middle Last. */
|
49
|
-
FBFriendDisplayByFirstName,
|
50
|
-
/*! Display friends as Last First Middle. */
|
51
|
-
FBFriendDisplayByLastName,
|
52
|
-
} FBFriendDisplayOrdering;
|
53
|
-
|
54
|
-
|
55
|
-
/*!
|
56
|
-
@class
|
57
|
-
|
58
|
-
@abstract
|
59
|
-
The `FBFriendPickerViewController` class creates a controller object that manages
|
60
|
-
the user interface for displaying and selecting Facebook friends.
|
61
|
-
|
62
|
-
@discussion
|
63
|
-
When the `FBFriendPickerViewController` view loads it creates a `UITableView` object
|
64
|
-
where the friends will be displayed. You can access this view through the `tableView`
|
65
|
-
property. The friend display can be sorted by first name or last name. Friends'
|
66
|
-
names can be displayed with the first name first or the last name first.
|
67
|
-
|
68
|
-
The friend data can be pre-fetched and cached prior to using the view controller. The
|
69
|
-
cache is setup using an <FBCacheDescriptor> object that can trigger the
|
70
|
-
data fetch. Any friend data requests will first check the cache and use that data.
|
71
|
-
If the friend picker is being displayed cached data will initially be shown before
|
72
|
-
a fresh copy is retrieved.
|
73
|
-
|
74
|
-
The `delegate` property may be set to an object that conforms to the <FBFriendPickerDelegate>
|
75
|
-
protocol. The `delegate` object will receive updates related to friend selection and
|
76
|
-
data changes. The delegate can also be used to filter the friends to display in the
|
77
|
-
picker.
|
78
|
-
*/
|
79
|
-
@interface FBFriendPickerViewController : FBViewController
|
80
|
-
|
81
|
-
/*!
|
82
|
-
@abstract
|
83
|
-
Returns an outlet for the spinner used in the view controller.
|
84
|
-
*/
|
85
|
-
@property (nonatomic, retain) IBOutlet UIActivityIndicatorView *spinner;
|
86
|
-
|
87
|
-
/*!
|
88
|
-
@abstract
|
89
|
-
Returns an outlet for the table view managed by the view controller.
|
90
|
-
*/
|
91
|
-
@property (nonatomic, retain) IBOutlet UITableView *tableView;
|
92
|
-
|
93
|
-
/*!
|
94
|
-
@abstract
|
95
|
-
A Boolean value that specifies whether multi-select is enabled.
|
96
|
-
*/
|
97
|
-
@property (nonatomic) BOOL allowsMultipleSelection;
|
98
|
-
|
99
|
-
/*!
|
100
|
-
@abstract
|
101
|
-
A Boolean value that indicates whether friend profile pictures are displayed.
|
102
|
-
*/
|
103
|
-
@property (nonatomic) BOOL itemPicturesEnabled;
|
104
|
-
|
105
|
-
/*!
|
106
|
-
@abstract
|
107
|
-
Addtional fields to fetch when making the Graph API call to get friend data.
|
108
|
-
*/
|
109
|
-
@property (nonatomic, copy) NSSet *fieldsForRequest;
|
110
|
-
|
111
|
-
/*!
|
112
|
-
@abstract
|
113
|
-
The session that is used in the request for friend data.
|
114
|
-
*/
|
115
|
-
@property (nonatomic, retain) FBSession *session;
|
116
|
-
|
117
|
-
/*!
|
118
|
-
@abstract
|
119
|
-
The profile ID of the user whose friends are being viewed.
|
120
|
-
*/
|
121
|
-
@property (nonatomic, copy) NSString *userID;
|
122
|
-
|
123
|
-
/*!
|
124
|
-
@abstract
|
125
|
-
The list of friends that are currently selected in the veiw.
|
126
|
-
The items in the array are <FBGraphUser> objects.
|
127
|
-
*/
|
128
|
-
@property (nonatomic, retain, readonly) NSArray *selection;
|
129
|
-
|
130
|
-
/*!
|
131
|
-
@abstract
|
132
|
-
The order in which friends are sorted in the display.
|
133
|
-
*/
|
134
|
-
@property (nonatomic) FBFriendSortOrdering sortOrdering;
|
135
|
-
|
136
|
-
/*!
|
137
|
-
@abstract
|
138
|
-
The order in which friends' names are displayed.
|
139
|
-
*/
|
140
|
-
@property (nonatomic) FBFriendDisplayOrdering displayOrdering;
|
141
|
-
|
142
|
-
/*!
|
143
|
-
@abstract
|
144
|
-
Initializes a friend picker view controller.
|
145
|
-
*/
|
146
|
-
- (id)init;
|
147
|
-
|
148
|
-
/*!
|
149
|
-
@abstract
|
150
|
-
Initializes a friend picker view controller.
|
151
|
-
|
152
|
-
@param aDecoder An unarchiver object.
|
153
|
-
*/
|
154
|
-
- (id)initWithCoder:(NSCoder *)aDecoder;
|
155
|
-
|
156
|
-
/*!
|
157
|
-
@abstract
|
158
|
-
Used to initialize the object
|
159
|
-
|
160
|
-
@param nibNameOrNil The name of the nib file to associate with the view controller. The nib file name should not contain any leading path information. If you specify nil, the nibName property is set to nil.
|
161
|
-
@param nibBundleOrNil The bundle in which to search for the nib file. This method looks for the nib file in the bundle's language-specific project directories first, followed by the Resources directory. If nil, this method looks for the nib file in the main bundle.
|
162
|
-
*/
|
163
|
-
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil;
|
164
|
-
|
165
|
-
/*!
|
166
|
-
@abstract
|
167
|
-
Configures the properties used in the caching data queries.
|
168
|
-
|
169
|
-
@discussion
|
170
|
-
Cache descriptors are used to fetch and cache the data used by the view controller.
|
171
|
-
If the view controller finds a cached copy of the data, it will
|
172
|
-
first display the cached content then fetch a fresh copy from the server.
|
173
|
-
|
174
|
-
@param cacheDescriptor The <FBCacheDescriptor> containing the cache query properties.
|
175
|
-
*/
|
176
|
-
- (void)configureUsingCachedDescriptor:(FBCacheDescriptor*)cacheDescriptor;
|
177
|
-
|
178
|
-
/*!
|
179
|
-
@abstract
|
180
|
-
Initiates a query to get friend data.
|
181
|
-
|
182
|
-
@discussion
|
183
|
-
A cached copy will be returned if available. The cached view is temporary until a fresh copy is
|
184
|
-
retrieved from the server. It is legal to call this more than once.
|
185
|
-
*/
|
186
|
-
- (void)loadData;
|
187
|
-
|
188
|
-
/*!
|
189
|
-
@abstract
|
190
|
-
Updates the view locally without fetching data from the server or from cache.
|
191
|
-
|
192
|
-
@discussion
|
193
|
-
Use this if the filter or sort properties change. This may affect the order or
|
194
|
-
display of friend information but should not need require new data.
|
195
|
-
*/
|
196
|
-
- (void)updateView;
|
197
|
-
|
198
|
-
/*!
|
199
|
-
@abstract
|
200
|
-
Clears the current selection, so the picker is ready for a fresh use.
|
201
|
-
*/
|
202
|
-
- (void)clearSelection;
|
203
|
-
|
204
|
-
/*!
|
205
|
-
@method
|
206
|
-
|
207
|
-
@abstract
|
208
|
-
Creates a cache descriptor based on default settings of the `FBFriendPickerViewController` object.
|
209
|
-
|
210
|
-
@discussion
|
211
|
-
An `FBCacheDescriptor` object may be used to pre-fetch data before it is used by
|
212
|
-
the view controller. It may also be used to configure the `FBFriendPickerViewController`
|
213
|
-
object.
|
214
|
-
*/
|
215
|
-
+ (FBCacheDescriptor*)cacheDescriptor;
|
216
|
-
|
217
|
-
/*!
|
218
|
-
@method
|
219
|
-
|
220
|
-
@abstract
|
221
|
-
Creates a cache descriptor with additional fields and a profile ID for use with the `FBFriendPickerViewController` object.
|
222
|
-
|
223
|
-
@discussion
|
224
|
-
An `FBCacheDescriptor` object may be used to pre-fetch data before it is used by
|
225
|
-
the view controller. It may also be used to configure the `FBFriendPickerViewController`
|
226
|
-
object.
|
227
|
-
|
228
|
-
@param userID The profile ID of the user whose friends will be displayed. A nil value implies a "me" alias.
|
229
|
-
@param fieldsForRequest The set of additional fields to include in the request for friend data.
|
230
|
-
*/
|
231
|
-
+ (FBCacheDescriptor*)cacheDescriptorWithUserID:(NSString*)userID fieldsForRequest:(NSSet*)fieldsForRequest;
|
232
|
-
|
233
|
-
@end
|
234
|
-
|
235
|
-
/*!
|
236
|
-
@protocol
|
237
|
-
|
238
|
-
@abstract
|
239
|
-
The `FBFriendPickerDelegate` protocol defines the methods used to receive event
|
240
|
-
notifications and allow for deeper control of the <FBFriendPickerViewController>
|
241
|
-
view.
|
242
|
-
*/
|
243
|
-
@protocol FBFriendPickerDelegate <FBViewControllerDelegate>
|
244
|
-
@optional
|
245
|
-
|
246
|
-
/*!
|
247
|
-
@abstract
|
248
|
-
Tells the delegate that data has been loaded.
|
249
|
-
|
250
|
-
@discussion
|
251
|
-
The <FBFriendPickerViewController> object's `tableView` property is automatically
|
252
|
-
reloaded when this happens. However, if another table view, for example the
|
253
|
-
`UISearchBar` is showing data, then it may also need to be reloaded.
|
254
|
-
|
255
|
-
@param friendPicker The friend picker view controller whose data changed.
|
256
|
-
*/
|
257
|
-
- (void)friendPickerViewControllerDataDidChange:(FBFriendPickerViewController *)friendPicker;
|
258
|
-
|
259
|
-
/*!
|
260
|
-
@abstract
|
261
|
-
Tells the delegate that the selection has changed.
|
262
|
-
|
263
|
-
@param friendPicker The friend picker view controller whose selection changed.
|
264
|
-
*/
|
265
|
-
- (void)friendPickerViewControllerSelectionDidChange:(FBFriendPickerViewController *)friendPicker;
|
266
|
-
|
267
|
-
/*!
|
268
|
-
@abstract
|
269
|
-
Asks the delegate whether to include a friend in the list.
|
270
|
-
|
271
|
-
@discussion
|
272
|
-
This can be used to implement a search bar that filters the friend list.
|
273
|
-
|
274
|
-
@param friendPicker The friend picker view controller that is requesting this information.
|
275
|
-
@param user An <FBGraphUser> object representing the friend.
|
276
|
-
*/
|
277
|
-
- (BOOL)friendPickerViewController:(FBFriendPickerViewController *)friendPicker
|
278
|
-
shouldIncludeUser:(id <FBGraphUser>)user;
|
279
|
-
|
280
|
-
/*!
|
281
|
-
@abstract
|
282
|
-
Tells the delegate that there is a communication error.
|
283
|
-
|
284
|
-
@param friendPicker The friend picker view controller that encountered the error.
|
285
|
-
@param error An error object containing details of the error.
|
286
|
-
*/
|
287
|
-
- (void)friendPickerViewController:(FBFriendPickerViewController *)friendPicker
|
288
|
-
handleError:(NSError *)error;
|
289
|
-
|
290
|
-
@end
|