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.
Files changed (251) hide show
  1. data/README.md +1 -1
  2. data/lib/firebase/version.rb +1 -1
  3. metadata +1 -249
  4. data/lib/motion-firebase-facebook.rb +0 -17
  5. data/lib/vendor/FacebookSDK.framework/FacebookSDK +0 -0
  6. data/lib/vendor/FacebookSDK.framework/FacebookSDK.framework.bridgesupport +0 -2646
  7. data/lib/vendor/FacebookSDK.framework/Headers/FBAccessTokenData.h +0 -115
  8. data/lib/vendor/FacebookSDK.framework/Headers/FBCacheDescriptor.h +0 -42
  9. data/lib/vendor/FacebookSDK.framework/Headers/FBError.h +0 -274
  10. data/lib/vendor/FacebookSDK.framework/Headers/FBFrictionlessRecipientCache.h +0 -86
  11. data/lib/vendor/FacebookSDK.framework/Headers/FBFriendPickerViewController.h +0 -290
  12. data/lib/vendor/FacebookSDK.framework/Headers/FBGraphLocation.h +0 -77
  13. data/lib/vendor/FacebookSDK.framework/Headers/FBGraphObject.h +0 -224
  14. data/lib/vendor/FacebookSDK.framework/Headers/FBGraphPlace.h +0 -60
  15. data/lib/vendor/FacebookSDK.framework/Headers/FBGraphUser.h +0 -90
  16. data/lib/vendor/FacebookSDK.framework/Headers/FBInsights.h +0 -271
  17. data/lib/vendor/FacebookSDK.framework/Headers/FBLoginView.h +0 -178
  18. data/lib/vendor/FacebookSDK.framework/Headers/FBNativeDialogs.h +0 -170
  19. data/lib/vendor/FacebookSDK.framework/Headers/FBOpenGraphAction.h +0 -127
  20. data/lib/vendor/FacebookSDK.framework/Headers/FBPlacePickerViewController.h +0 -257
  21. data/lib/vendor/FacebookSDK.framework/Headers/FBProfilePictureView.h +0 -80
  22. data/lib/vendor/FacebookSDK.framework/Headers/FBRequest.h +0 -504
  23. data/lib/vendor/FacebookSDK.framework/Headers/FBRequestConnection.h +0 -389
  24. data/lib/vendor/FacebookSDK.framework/Headers/FBSession.h +0 -751
  25. data/lib/vendor/FacebookSDK.framework/Headers/FBSessionTokenCachingStrategy.h +0 -152
  26. data/lib/vendor/FacebookSDK.framework/Headers/FBSettings.h +0 -136
  27. data/lib/vendor/FacebookSDK.framework/Headers/FBTestSession.h +0 -135
  28. data/lib/vendor/FacebookSDK.framework/Headers/FBUserSettingsViewController.h +0 -127
  29. data/lib/vendor/FacebookSDK.framework/Headers/FBViewController.h +0 -118
  30. data/lib/vendor/FacebookSDK.framework/Headers/FBWebDialogs.h +0 -234
  31. data/lib/vendor/FacebookSDK.framework/Headers/FacebookSDK.h +0 -132
  32. data/lib/vendor/FacebookSDK.framework/Headers/NSError+FBError.h +0 -59
  33. data/lib/vendor/FacebookSDK.framework/Resources/FBUserSettingsViewResources.bundle/Contents/Resources/en.lproj/Localizable.strings +0 -0
  34. data/lib/vendor/FacebookSDK.framework/Resources/FBUserSettingsViewResources.bundle/Contents/Resources/he.lproj/Localizable.strings +0 -0
  35. data/lib/vendor/FacebookSDK.framework/Resources/FBUserSettingsViewResources.bundle/images/facebook-logo.png +0 -0
  36. data/lib/vendor/FacebookSDK.framework/Resources/FBUserSettingsViewResources.bundle/images/facebook-logo@2x.png +0 -0
  37. data/lib/vendor/FacebookSDK.framework/Resources/FBUserSettingsViewResources.bundle/images/loginBackgroundIPadLandscape.jpg +0 -0
  38. data/lib/vendor/FacebookSDK.framework/Resources/FBUserSettingsViewResources.bundle/images/loginBackgroundIPadLandscape@2x.jpg +0 -0
  39. data/lib/vendor/FacebookSDK.framework/Resources/FBUserSettingsViewResources.bundle/images/loginBackgroundIPadPortrait.jpg +0 -0
  40. data/lib/vendor/FacebookSDK.framework/Resources/FBUserSettingsViewResources.bundle/images/loginBackgroundIPadPortrait@2x.jpg +0 -0
  41. data/lib/vendor/FacebookSDK.framework/Resources/FBUserSettingsViewResources.bundle/images/loginBackgroundIPhonePortrait.jpg +0 -0
  42. data/lib/vendor/FacebookSDK.framework/Resources/FBUserSettingsViewResources.bundle/images/loginBackgroundIPhonePortrait@2x.jpg +0 -0
  43. data/lib/vendor/FacebookSDK.framework/Resources/FBUserSettingsViewResources.bundle/images/silver-button-normal.png +0 -0
  44. data/lib/vendor/FacebookSDK.framework/Resources/FBUserSettingsViewResources.bundle/images/silver-button-normal@2x.png +0 -0
  45. data/lib/vendor/FacebookSDK.framework/Resources/FBUserSettingsViewResources.bundle/images/silver-button-pressed.png +0 -0
  46. data/lib/vendor/FacebookSDK.framework/Resources/FBUserSettingsViewResources.bundle/images/silver-button-pressed@2x.png +0 -0
  47. data/lib/vendor/FacebookSDK.framework/Resources/FacebookSDKResources.bundle/Contents/Resources/en.lproj/Localizable.strings +0 -0
  48. data/lib/vendor/FacebookSDK.framework/Resources/FacebookSDKResources.bundle/Contents/Resources/he.lproj/Localizable.strings +0 -0
  49. data/lib/vendor/FacebookSDK.framework/Resources/FacebookSDKResources.bundle/FBDialog/images/close.png +0 -0
  50. data/lib/vendor/FacebookSDK.framework/Resources/FacebookSDKResources.bundle/FBDialog/images/close@2x.png +0 -0
  51. data/lib/vendor/FacebookSDK.framework/Resources/FacebookSDKResources.bundle/FBDialog/images/fbicon.png +0 -0
  52. data/lib/vendor/FacebookSDK.framework/Resources/FacebookSDKResources.bundle/FBFriendPickerView/images/default.png +0 -0
  53. data/lib/vendor/FacebookSDK.framework/Resources/FacebookSDKResources.bundle/FBLoginView/images/bluetint.png +0 -0
  54. data/lib/vendor/FacebookSDK.framework/Resources/FacebookSDKResources.bundle/FBLoginView/images/f_logo.png +0 -0
  55. data/lib/vendor/FacebookSDK.framework/Resources/FacebookSDKResources.bundle/FBLoginView/images/facebook.png +0 -0
  56. data/lib/vendor/FacebookSDK.framework/Resources/FacebookSDKResources.bundle/FBLoginView/images/login-button-small-pressed.png +0 -0
  57. data/lib/vendor/FacebookSDK.framework/Resources/FacebookSDKResources.bundle/FBLoginView/images/login-button-small-pressed@2x.png +0 -0
  58. data/lib/vendor/FacebookSDK.framework/Resources/FacebookSDKResources.bundle/FBLoginView/images/login-button-small.png +0 -0
  59. data/lib/vendor/FacebookSDK.framework/Resources/FacebookSDKResources.bundle/FBLoginView/images/login-button-small@2x.png +0 -0
  60. data/lib/vendor/FacebookSDK.framework/Resources/FacebookSDKResources.bundle/FBPlacePickerView/images/fb_generic_place.png +0 -0
  61. data/lib/vendor/FacebookSDK.framework/Resources/FacebookSDKResources.bundle/FBProfilePictureView/images/fb_blank_profile_portrait.png +0 -0
  62. data/lib/vendor/FacebookSDK.framework/Resources/FacebookSDKResources.bundle/FBProfilePictureView/images/fb_blank_profile_square.png +0 -0
  63. data/lib/vendor/FacebookSDK.framework/Resources/Info.plist +0 -20
  64. data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBAccessTokenData.h +0 -115
  65. data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBCacheDescriptor.h +0 -42
  66. data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBConnect.h +0 -22
  67. data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBDialog.h +0 -165
  68. data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBError.h +0 -274
  69. data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBFrictionlessRecipientCache.h +0 -86
  70. data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBFrictionlessRequestSettings.h +0 -85
  71. data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBFriendPickerViewController.h +0 -290
  72. data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBGraphLocation.h +0 -77
  73. data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBGraphObject.h +0 -224
  74. data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBGraphPlace.h +0 -60
  75. data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBGraphUser.h +0 -90
  76. data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBInsights.h +0 -271
  77. data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBLoginDialog.h +0 -48
  78. data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBLoginView.h +0 -178
  79. data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBNativeDialogs.h +0 -170
  80. data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBOpenGraphAction.h +0 -127
  81. data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBPlacePickerViewController.h +0 -257
  82. data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBProfilePictureView.h +0 -80
  83. data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBRequest.h +0 -504
  84. data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBRequestConnection.h +0 -389
  85. data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBSBJSON.h +0 -75
  86. data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBSBJsonBase.h +0 -86
  87. data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBSBJsonParser.h +0 -87
  88. data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBSBJsonWriter.h +0 -129
  89. data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBSession.h +0 -751
  90. data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBSessionManualTokenCachingStrategy.h +0 -32
  91. data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBSessionTokenCachingStrategy.h +0 -152
  92. data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBSettings.h +0 -136
  93. data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBTestSession.h +0 -135
  94. data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBUserSettingsViewController.h +0 -127
  95. data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBViewController.h +0 -118
  96. data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FBWebDialogs.h +0 -234
  97. data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/Facebook.h +0 -281
  98. data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/FacebookSDK.h +0 -132
  99. data/lib/vendor/FacebookSDK.framework/Versions/A/DeprecatedHeaders/NSError+FBError.h +0 -59
  100. data/lib/vendor/FacebookSDK.framework/Versions/A/FacebookSDK +0 -0
  101. data/lib/vendor/FacebookSDK.framework/Versions/A/Headers/FBAccessTokenData.h +0 -115
  102. data/lib/vendor/FacebookSDK.framework/Versions/A/Headers/FBCacheDescriptor.h +0 -42
  103. data/lib/vendor/FacebookSDK.framework/Versions/A/Headers/FBError.h +0 -274
  104. data/lib/vendor/FacebookSDK.framework/Versions/A/Headers/FBFrictionlessRecipientCache.h +0 -86
  105. data/lib/vendor/FacebookSDK.framework/Versions/A/Headers/FBFriendPickerViewController.h +0 -290
  106. data/lib/vendor/FacebookSDK.framework/Versions/A/Headers/FBGraphLocation.h +0 -77
  107. data/lib/vendor/FacebookSDK.framework/Versions/A/Headers/FBGraphObject.h +0 -224
  108. data/lib/vendor/FacebookSDK.framework/Versions/A/Headers/FBGraphPlace.h +0 -60
  109. data/lib/vendor/FacebookSDK.framework/Versions/A/Headers/FBGraphUser.h +0 -90
  110. data/lib/vendor/FacebookSDK.framework/Versions/A/Headers/FBInsights.h +0 -271
  111. data/lib/vendor/FacebookSDK.framework/Versions/A/Headers/FBLoginView.h +0 -178
  112. data/lib/vendor/FacebookSDK.framework/Versions/A/Headers/FBNativeDialogs.h +0 -170
  113. data/lib/vendor/FacebookSDK.framework/Versions/A/Headers/FBOpenGraphAction.h +0 -127
  114. data/lib/vendor/FacebookSDK.framework/Versions/A/Headers/FBPlacePickerViewController.h +0 -257
  115. data/lib/vendor/FacebookSDK.framework/Versions/A/Headers/FBProfilePictureView.h +0 -80
  116. data/lib/vendor/FacebookSDK.framework/Versions/A/Headers/FBRequest.h +0 -504
  117. data/lib/vendor/FacebookSDK.framework/Versions/A/Headers/FBRequestConnection.h +0 -389
  118. data/lib/vendor/FacebookSDK.framework/Versions/A/Headers/FBSession.h +0 -751
  119. data/lib/vendor/FacebookSDK.framework/Versions/A/Headers/FBSessionTokenCachingStrategy.h +0 -152
  120. data/lib/vendor/FacebookSDK.framework/Versions/A/Headers/FBSettings.h +0 -136
  121. data/lib/vendor/FacebookSDK.framework/Versions/A/Headers/FBTestSession.h +0 -135
  122. data/lib/vendor/FacebookSDK.framework/Versions/A/Headers/FBUserSettingsViewController.h +0 -127
  123. data/lib/vendor/FacebookSDK.framework/Versions/A/Headers/FBViewController.h +0 -118
  124. data/lib/vendor/FacebookSDK.framework/Versions/A/Headers/FBWebDialogs.h +0 -234
  125. data/lib/vendor/FacebookSDK.framework/Versions/A/Headers/FacebookSDK.h +0 -132
  126. data/lib/vendor/FacebookSDK.framework/Versions/A/Headers/NSError+FBError.h +0 -59
  127. data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FBUserSettingsViewResources.bundle/Contents/Resources/en.lproj/Localizable.strings +0 -0
  128. data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FBUserSettingsViewResources.bundle/Contents/Resources/he.lproj/Localizable.strings +0 -0
  129. data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FBUserSettingsViewResources.bundle/images/facebook-logo.png +0 -0
  130. data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FBUserSettingsViewResources.bundle/images/facebook-logo@2x.png +0 -0
  131. data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FBUserSettingsViewResources.bundle/images/loginBackgroundIPadLandscape.jpg +0 -0
  132. data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FBUserSettingsViewResources.bundle/images/loginBackgroundIPadLandscape@2x.jpg +0 -0
  133. data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FBUserSettingsViewResources.bundle/images/loginBackgroundIPadPortrait.jpg +0 -0
  134. data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FBUserSettingsViewResources.bundle/images/loginBackgroundIPadPortrait@2x.jpg +0 -0
  135. data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FBUserSettingsViewResources.bundle/images/loginBackgroundIPhonePortrait.jpg +0 -0
  136. data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FBUserSettingsViewResources.bundle/images/loginBackgroundIPhonePortrait@2x.jpg +0 -0
  137. data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FBUserSettingsViewResources.bundle/images/silver-button-normal.png +0 -0
  138. data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FBUserSettingsViewResources.bundle/images/silver-button-normal@2x.png +0 -0
  139. data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FBUserSettingsViewResources.bundle/images/silver-button-pressed.png +0 -0
  140. data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FBUserSettingsViewResources.bundle/images/silver-button-pressed@2x.png +0 -0
  141. data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FacebookSDKResources.bundle/Contents/Resources/en.lproj/Localizable.strings +0 -0
  142. data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FacebookSDKResources.bundle/Contents/Resources/he.lproj/Localizable.strings +0 -0
  143. data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FacebookSDKResources.bundle/FBDialog/images/close.png +0 -0
  144. data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FacebookSDKResources.bundle/FBDialog/images/close@2x.png +0 -0
  145. data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FacebookSDKResources.bundle/FBDialog/images/fbicon.png +0 -0
  146. data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FacebookSDKResources.bundle/FBFriendPickerView/images/default.png +0 -0
  147. data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FacebookSDKResources.bundle/FBLoginView/images/bluetint.png +0 -0
  148. data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FacebookSDKResources.bundle/FBLoginView/images/f_logo.png +0 -0
  149. data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FacebookSDKResources.bundle/FBLoginView/images/facebook.png +0 -0
  150. data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FacebookSDKResources.bundle/FBLoginView/images/login-button-small-pressed.png +0 -0
  151. data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FacebookSDKResources.bundle/FBLoginView/images/login-button-small-pressed@2x.png +0 -0
  152. data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FacebookSDKResources.bundle/FBLoginView/images/login-button-small.png +0 -0
  153. data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FacebookSDKResources.bundle/FBLoginView/images/login-button-small@2x.png +0 -0
  154. data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FacebookSDKResources.bundle/FBPlacePickerView/images/fb_generic_place.png +0 -0
  155. data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FacebookSDKResources.bundle/FBProfilePictureView/images/fb_blank_profile_portrait.png +0 -0
  156. data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/FacebookSDKResources.bundle/FBProfilePictureView/images/fb_blank_profile_square.png +0 -0
  157. data/lib/vendor/FacebookSDK.framework/Versions/A/Resources/Info.plist +0 -20
  158. data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBAccessTokenData.h +0 -115
  159. data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBCacheDescriptor.h +0 -42
  160. data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBConnect.h +0 -22
  161. data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBDialog.h +0 -165
  162. data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBError.h +0 -274
  163. data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBFrictionlessRecipientCache.h +0 -86
  164. data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBFrictionlessRequestSettings.h +0 -85
  165. data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBFriendPickerViewController.h +0 -290
  166. data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBGraphLocation.h +0 -77
  167. data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBGraphObject.h +0 -224
  168. data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBGraphPlace.h +0 -60
  169. data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBGraphUser.h +0 -90
  170. data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBInsights.h +0 -271
  171. data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBLoginDialog.h +0 -48
  172. data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBLoginView.h +0 -178
  173. data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBNativeDialogs.h +0 -170
  174. data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBOpenGraphAction.h +0 -127
  175. data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBPlacePickerViewController.h +0 -257
  176. data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBProfilePictureView.h +0 -80
  177. data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBRequest.h +0 -504
  178. data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBRequestConnection.h +0 -389
  179. data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBSBJSON.h +0 -75
  180. data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBSBJsonBase.h +0 -86
  181. data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBSBJsonParser.h +0 -87
  182. data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBSBJsonWriter.h +0 -129
  183. data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBSession.h +0 -751
  184. data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBSessionManualTokenCachingStrategy.h +0 -32
  185. data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBSessionTokenCachingStrategy.h +0 -152
  186. data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBSettings.h +0 -136
  187. data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBTestSession.h +0 -135
  188. data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBUserSettingsViewController.h +0 -127
  189. data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBViewController.h +0 -118
  190. data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FBWebDialogs.h +0 -234
  191. data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/Facebook.h +0 -281
  192. data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/FacebookSDK.h +0 -132
  193. data/lib/vendor/FacebookSDK.framework/Versions/Current/DeprecatedHeaders/NSError+FBError.h +0 -59
  194. data/lib/vendor/FacebookSDK.framework/Versions/Current/FacebookSDK +0 -0
  195. data/lib/vendor/FacebookSDK.framework/Versions/Current/Headers/FBAccessTokenData.h +0 -115
  196. data/lib/vendor/FacebookSDK.framework/Versions/Current/Headers/FBCacheDescriptor.h +0 -42
  197. data/lib/vendor/FacebookSDK.framework/Versions/Current/Headers/FBError.h +0 -274
  198. data/lib/vendor/FacebookSDK.framework/Versions/Current/Headers/FBFrictionlessRecipientCache.h +0 -86
  199. data/lib/vendor/FacebookSDK.framework/Versions/Current/Headers/FBFriendPickerViewController.h +0 -290
  200. data/lib/vendor/FacebookSDK.framework/Versions/Current/Headers/FBGraphLocation.h +0 -77
  201. data/lib/vendor/FacebookSDK.framework/Versions/Current/Headers/FBGraphObject.h +0 -224
  202. data/lib/vendor/FacebookSDK.framework/Versions/Current/Headers/FBGraphPlace.h +0 -60
  203. data/lib/vendor/FacebookSDK.framework/Versions/Current/Headers/FBGraphUser.h +0 -90
  204. data/lib/vendor/FacebookSDK.framework/Versions/Current/Headers/FBInsights.h +0 -271
  205. data/lib/vendor/FacebookSDK.framework/Versions/Current/Headers/FBLoginView.h +0 -178
  206. data/lib/vendor/FacebookSDK.framework/Versions/Current/Headers/FBNativeDialogs.h +0 -170
  207. data/lib/vendor/FacebookSDK.framework/Versions/Current/Headers/FBOpenGraphAction.h +0 -127
  208. data/lib/vendor/FacebookSDK.framework/Versions/Current/Headers/FBPlacePickerViewController.h +0 -257
  209. data/lib/vendor/FacebookSDK.framework/Versions/Current/Headers/FBProfilePictureView.h +0 -80
  210. data/lib/vendor/FacebookSDK.framework/Versions/Current/Headers/FBRequest.h +0 -504
  211. data/lib/vendor/FacebookSDK.framework/Versions/Current/Headers/FBRequestConnection.h +0 -389
  212. data/lib/vendor/FacebookSDK.framework/Versions/Current/Headers/FBSession.h +0 -751
  213. data/lib/vendor/FacebookSDK.framework/Versions/Current/Headers/FBSessionTokenCachingStrategy.h +0 -152
  214. data/lib/vendor/FacebookSDK.framework/Versions/Current/Headers/FBSettings.h +0 -136
  215. data/lib/vendor/FacebookSDK.framework/Versions/Current/Headers/FBTestSession.h +0 -135
  216. data/lib/vendor/FacebookSDK.framework/Versions/Current/Headers/FBUserSettingsViewController.h +0 -127
  217. data/lib/vendor/FacebookSDK.framework/Versions/Current/Headers/FBViewController.h +0 -118
  218. data/lib/vendor/FacebookSDK.framework/Versions/Current/Headers/FBWebDialogs.h +0 -234
  219. data/lib/vendor/FacebookSDK.framework/Versions/Current/Headers/FacebookSDK.h +0 -132
  220. data/lib/vendor/FacebookSDK.framework/Versions/Current/Headers/NSError+FBError.h +0 -59
  221. data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FBUserSettingsViewResources.bundle/Contents/Resources/en.lproj/Localizable.strings +0 -0
  222. data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FBUserSettingsViewResources.bundle/Contents/Resources/he.lproj/Localizable.strings +0 -0
  223. data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FBUserSettingsViewResources.bundle/images/facebook-logo.png +0 -0
  224. data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FBUserSettingsViewResources.bundle/images/facebook-logo@2x.png +0 -0
  225. data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FBUserSettingsViewResources.bundle/images/loginBackgroundIPadLandscape.jpg +0 -0
  226. data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FBUserSettingsViewResources.bundle/images/loginBackgroundIPadLandscape@2x.jpg +0 -0
  227. data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FBUserSettingsViewResources.bundle/images/loginBackgroundIPadPortrait.jpg +0 -0
  228. data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FBUserSettingsViewResources.bundle/images/loginBackgroundIPadPortrait@2x.jpg +0 -0
  229. data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FBUserSettingsViewResources.bundle/images/loginBackgroundIPhonePortrait.jpg +0 -0
  230. data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FBUserSettingsViewResources.bundle/images/loginBackgroundIPhonePortrait@2x.jpg +0 -0
  231. data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FBUserSettingsViewResources.bundle/images/silver-button-normal.png +0 -0
  232. data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FBUserSettingsViewResources.bundle/images/silver-button-normal@2x.png +0 -0
  233. data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FBUserSettingsViewResources.bundle/images/silver-button-pressed.png +0 -0
  234. data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FBUserSettingsViewResources.bundle/images/silver-button-pressed@2x.png +0 -0
  235. data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FacebookSDKResources.bundle/Contents/Resources/en.lproj/Localizable.strings +0 -0
  236. data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FacebookSDKResources.bundle/Contents/Resources/he.lproj/Localizable.strings +0 -0
  237. data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FacebookSDKResources.bundle/FBDialog/images/close.png +0 -0
  238. data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FacebookSDKResources.bundle/FBDialog/images/close@2x.png +0 -0
  239. data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FacebookSDKResources.bundle/FBDialog/images/fbicon.png +0 -0
  240. data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FacebookSDKResources.bundle/FBFriendPickerView/images/default.png +0 -0
  241. data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FacebookSDKResources.bundle/FBLoginView/images/bluetint.png +0 -0
  242. data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FacebookSDKResources.bundle/FBLoginView/images/f_logo.png +0 -0
  243. data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FacebookSDKResources.bundle/FBLoginView/images/facebook.png +0 -0
  244. data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FacebookSDKResources.bundle/FBLoginView/images/login-button-small-pressed.png +0 -0
  245. data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FacebookSDKResources.bundle/FBLoginView/images/login-button-small-pressed@2x.png +0 -0
  246. data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FacebookSDKResources.bundle/FBLoginView/images/login-button-small.png +0 -0
  247. data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FacebookSDKResources.bundle/FBLoginView/images/login-button-small@2x.png +0 -0
  248. data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FacebookSDKResources.bundle/FBPlacePickerView/images/fb_generic_place.png +0 -0
  249. data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FacebookSDKResources.bundle/FBProfilePictureView/images/fb_blank_profile_portrait.png +0 -0
  250. data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/FacebookSDKResources.bundle/FBProfilePictureView/images/fb_blank_profile_square.png +0 -0
  251. data/lib/vendor/FacebookSDK.framework/Versions/Current/Resources/Info.plist +0 -20
@@ -1,32 +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 "FBSessionTokenCachingStrategy.h"
18
-
19
- // FBSessionManualTokenCachingStrategy
20
- //
21
- // Summary:
22
- // Internal use only, this class enables migration logic for the Facebook class, by providing
23
- // a means to directly provide the access token to a FBSession object
24
- //
25
- @interface FBSessionManualTokenCachingStrategy : FBSessionTokenCachingStrategy
26
-
27
- // set the properties before instantiating the FBSession object in order to seed a token
28
- @property (readwrite, copy) NSString* accessToken;
29
- @property (readwrite, copy) NSDate* expirationDate;
30
-
31
- @end
32
-
@@ -1,152 +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
- #import "FBAccessTokenData.h"
19
-
20
- /*!
21
- @class
22
-
23
- @abstract
24
- The `FBSessionTokenCachingStrategy` class is responsible for persisting and retrieving cached data related to
25
- an <FBSession> object, including the user's Facebook access token.
26
-
27
- @discussion
28
- `FBSessionTokenCachingStrategy` is designed to be instantiated directly or used as a base class. Usually default
29
- token caching behavior is sufficient, and you do not need to interface directly with `FBSessionTokenCachingStrategy` objects.
30
- However, if you need to control where or how `FBSession` information is cached, then you may take one of two approaches.
31
-
32
- The first and simplest approach is to instantiate an instance of `FBSessionTokenCachingStrategy`, and then pass
33
- the instance to `FBSession` class' `init` method. This enables your application to control the key name used in
34
- `NSUserDefaults` to store session information. You may consider this approach if you plan to cache session information
35
- for multiple users.
36
-
37
- The second and more advanced approached is to derive a custom class from `FBSessionTokenCachingStrategy`, which will
38
- be responsible for caching behavior of your application. This approach is useful if you need to change where the
39
- information is cached, for example if you prefer to use the filesystem or make a network connection to fetch and
40
- persist cached tokens. Inheritors should override the cacheTokenInformation, fetchTokenInformation, and clearToken methods.
41
- Doing this enables your application to implement any token caching scheme, including no caching at all (see
42
- `[FBSessionTokenCachingStrategy* nullCacheInstance ]`.
43
-
44
- Direct use of `FBSessionTokenCachingStrategy`is an advanced technique. Most applications use <FBSession> objects without
45
- passing an `FBSessionTokenCachingStrategy`, which yields default caching to `NSUserDefaults`.
46
- */
47
- @interface FBSessionTokenCachingStrategy : NSObject
48
-
49
- /*!
50
- @abstract Initializes and returns an instance
51
- */
52
- - (id)init;
53
-
54
- /*!
55
- @abstract
56
- Initializes and returns an instance
57
-
58
- @param tokenInformationKeyName Specifies a key name to use for cached token information in NSUserDefaults, nil
59
- indicates a default value of @"FBAccessTokenInformationKey"
60
- */
61
- - (id)initWithUserDefaultTokenInformationKeyName:(NSString*)tokenInformationKeyName;
62
-
63
- /*!
64
- @abstract
65
- Called by <FBSession> (and overridden by inheritors), in order to cache token information.
66
-
67
- @param tokenInformation Dictionary containing token information to be cached by the method
68
- @discussion You should favor overriding this instead of `cacheFBAccessTokenData` only if you intend
69
- to cache additional data not captured by the FBAccessTokenData type.
70
- */
71
- - (void)cacheTokenInformation:(NSDictionary*)tokenInformation;
72
-
73
- /*!
74
- @abstract Cache the supplied token.
75
- @param accessToken The token instance.
76
- @discussion This essentially wraps a call to `cacheTokenInformation` so you should
77
- override this when providing a custom token caching strategy.
78
- */
79
- - (void)cacheFBAccessTokenData:(FBAccessTokenData *)accessToken;
80
-
81
- /*!
82
- @abstract
83
- Called by <FBSession> (and overridden by inheritors), in order to fetch cached token information
84
-
85
- @discussion
86
- An overriding implementation should only return a token if it
87
- can also return an expiration date, otherwise return nil.
88
- You should favor overriding this instead of `fetchFBAccessTokenData` only if you intend
89
- to cache additional data not captured by the FBAccessTokenData type.
90
-
91
- */
92
- - (NSDictionary*)fetchTokenInformation;
93
-
94
- /*!
95
- @abstract
96
- Fetches the cached token instance.
97
-
98
- @discussion
99
- This essentially wraps a call to `fetchTokenInformation` so you should
100
- override this when providing a custom token caching strategy.
101
- */
102
- - (FBAccessTokenData *)fetchFBAccessTokenData;
103
-
104
- /*!
105
- @abstract
106
- Called by <FBSession> (and overridden by inheritors), in order delete any cached information for the current token
107
- */
108
- - (void)clearToken;
109
-
110
- /*!
111
- @abstract
112
- Helper function called by the SDK as well as apps, in order to fetch the default strategy instance.
113
- */
114
- + (FBSessionTokenCachingStrategy*)defaultInstance;
115
-
116
- /*!
117
- @abstract
118
- Helper function to return a FBSessionTokenCachingStrategy instance that does not perform any caching.
119
- */
120
- + (FBSessionTokenCachingStrategy*)nullCacheInstance;
121
-
122
- /*!
123
- @abstract
124
- Helper function called by the SDK as well as application code, used to determine whether a given dictionary
125
- contains the minimum token information usable by the <FBSession>.
126
-
127
- @param tokenInformation Dictionary containing token information to be validated
128
- */
129
- + (BOOL)isValidTokenInformation:(NSDictionary*)tokenInformation;
130
-
131
- @end
132
-
133
- // The key to use with token information dictionaries to get and set the token value
134
- extern NSString *const FBTokenInformationTokenKey;
135
-
136
- // The to use with token information dictionaries to get and set the expiration date
137
- extern NSString *const FBTokenInformationExpirationDateKey;
138
-
139
- // The to use with token information dictionaries to get and set the refresh date
140
- extern NSString *const FBTokenInformationRefreshDateKey;
141
-
142
- // The key to use with token information dictionaries to get the related user's fbid
143
- extern NSString *const FBTokenInformationUserFBIDKey;
144
-
145
- // The key to use with token information dictionaries to determine whether the token was fetched via Facebook Login
146
- extern NSString *const FBTokenInformationIsFacebookLoginKey;
147
-
148
- // The key to use with token information dictionaries to determine whether the token was fetched via the OS
149
- extern NSString *const FBTokenInformationLoginTypeLoginKey;
150
-
151
- // The key to use with token information dictionaries to get the latest known permissions
152
- extern NSString *const FBTokenInformationPermissionsKey;
@@ -1,136 +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
- * Constants defining logging behavior. Use with <[FBSettings setLoggingBehavior]>.
21
- */
22
-
23
- /*! Log requests from FBRequest* classes */
24
- extern NSString *const FBLoggingBehaviorFBRequests;
25
-
26
- /*! Log requests from FBURLConnection* classes */
27
- extern NSString *const FBLoggingBehaviorFBURLConnections;
28
-
29
- /*! Include access token in logging. */
30
- extern NSString *const FBLoggingBehaviorAccessTokens;
31
-
32
- /*! Log session state transitions. */
33
- extern NSString *const FBLoggingBehaviorSessionStateTransitions;
34
-
35
- /*! Log performance characteristics */
36
- extern NSString *const FBLoggingBehaviorPerformanceCharacteristics;
37
-
38
- /*! Log Insights interactions */
39
- extern NSString *const FBLoggingBehaviorInsights;
40
-
41
- /*! Log errors likely to be preventable by the developer. This is in the default set of enabled logging behaviors. */
42
- extern NSString *const FBLoggingBehaviorDeveloperErrors;
43
-
44
- @class FBGraphObject;
45
-
46
- /*!
47
- @typedef
48
-
49
- @abstract Block type used to get install data that is returned by server when publishInstall is called
50
- @discussion
51
- */
52
- typedef void (^FBInstallResponseDataHandler)(FBGraphObject *response, NSError *error);
53
-
54
- @interface FBSettings : NSObject
55
-
56
- /*!
57
- @method
58
-
59
- @abstract Retrieve the current Facebook SDK logging behavior.
60
-
61
- */
62
- + (NSSet *)loggingBehavior;
63
-
64
- /*!
65
- @method
66
-
67
- @abstract Set the current Facebook SDK logging behavior. This should consist of strings defined as
68
- constants with FBLogBehavior*, and can be constructed with, e.g., [NSSet initWithObjects:].
69
-
70
- @param loggingBehavior A set of strings indicating what information should be logged. If nil is provided, the logging
71
- behavior is reset to the default set of enabled behaviors. Set in an empty set in order to disable all logging.
72
- */
73
- + (void)setLoggingBehavior:(NSSet *)loggingBehavior;
74
-
75
- /*! @abstract Retreive the current auto publish behavior. Defaults to YES. */
76
- + (BOOL)shouldAutoPublishInstall;
77
-
78
- /*!
79
- @method
80
-
81
- @abstract Sets whether the SDK will automatically publish an install to Facebook during first FBSession init
82
- or on first network request to Facebook.
83
-
84
- @param autoPublishInstall If YES, automatically publish the install; if NO, do not.
85
- */
86
- + (void)setShouldAutoPublishInstall:(BOOL)autoPublishInstall;
87
-
88
- // For best results, call this function during app activation.
89
- /*!
90
- @method
91
-
92
- @abstract Manually publish an attributed install to the facebook graph. Calling this method will implicitly
93
- turn off auto-publish. This method acquires the current attribution id from the facebook application, queries the
94
- graph API to determine if the application has install attribution enabled, publishes the id, and records
95
- success to avoid reporting more than once.
96
-
97
- @param appID A specific appID to publish an install for. If nil, uses [FBSession defaultAppID].
98
- */
99
- + (void)publishInstall:(NSString *)appID;
100
-
101
- /*!
102
- @method
103
-
104
- @abstract Manually publish an attributed install to the Facebook graph, and return the server response back in
105
- the supplied handler. Calling this method will implicitly turn off auto-publish. This method acquires the
106
- current attribution id from the facebook application, queries the graph API to determine if the application
107
- has install attribution enabled, publishes the id, and records success to avoid reporting more than once.
108
-
109
- @param appID A specific appID to publish an install for. If nil, uses [FBSession defaultAppID].
110
- @param handler A block to call with the server's response.
111
- */
112
- + (void)publishInstall:(NSString *)appID
113
- withHandler:(FBInstallResponseDataHandler)handler;
114
-
115
- /*!
116
- @method
117
-
118
- @abstract Retrieve the Client Token that has been set via [FBSettings setClientToken]
119
- */
120
- + (NSString *)clientToken;
121
-
122
- /*!
123
- @method
124
-
125
- @abstract Sets the Client Token for the Facebook App. This is needed for certain API calls when made anonymously,
126
- without a user-based Session. Calls to FBInsights logging events are examples of this, when there may
127
- have been no user login established.
128
-
129
- @param clientToken The Facebook App's "client token", which, for a given appid can be found in the Security
130
- section of the Advanced tab of the Facebook App settings found at <https://developers.facebook.com/apps/[your-app-id]>
131
-
132
- */
133
- + (void)setClientToken:(NSString *)clientToken;
134
-
135
-
136
- @end
@@ -1,135 +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 "FBSession.h"
18
-
19
- #if defined (DEBUG)
20
- #define SAFE_TO_USE_FBTESTSESSION
21
- #endif
22
-
23
- #if !defined(SAFE_TO_USE_FBTESTSESSION)
24
- #pragma message ("warning: using FBTestSession, which is designed for unit-testing uses only, in non-DEBUG code -- ensure this is what you really want")
25
- #endif
26
-
27
- /*!
28
- Consider using this tag to pass to sessionWithSharedUserWithPermissions:uniqueUserTag: when
29
- you need a second unique test user in a test case. Using the same tag each time reduces
30
- the proliferation of test users.
31
- */
32
- extern NSString *kSecondTestUserTag;
33
- /*!
34
- Consider using this tag to pass to sessionWithSharedUserWithPermissions:uniqueUserTag: when
35
- you need a third unique test user in a test case. Using the same tag each time reduces
36
- the proliferation of test users.
37
- */
38
- extern NSString *kThirdTestUserTag;
39
-
40
- /*!
41
- @class FBTestSession
42
-
43
- @abstract
44
- Implements an FBSession subclass that knows about test users for a particular
45
- application. This should never be used from a real application, but may be useful
46
- for writing unit tests, etc.
47
-
48
- @discussion
49
- Facebook allows developers to create test accounts for testing their applications'
50
- Facebook integration (see https://developers.facebook.com/docs/test_users/). This class
51
- simplifies use of these accounts for writing unit tests. It is not designed for use in
52
- production application code.
53
-
54
- The main use case for this class is using sessionForUnitTestingWithPermissions:mode:
55
- to create a session for a test user. Two modes are supported. In "shared" mode, an attempt
56
- is made to find an existing test user that has the required permissions and, if it is not
57
- currently in use by another FBTestSession, just use that user. If no such user is available,
58
- a new one is created with the required permissions. In "private" mode, designed for
59
- scenarios which require a new user in a known clean state, a new test user will always be
60
- created, and it will be automatically deleted when the FBTestSession is closed.
61
-
62
- Note that the shared test user functionality depends on a naming convention for the test users.
63
- It is important that any testing of functionality which will mutate the permissions for a
64
- test user NOT use a shared test user, or this scheme will break down. If a shared test user
65
- seems to be in an invalid state, it can be deleted manually via the Web interface at
66
- https://developers.facebook.com/apps/APP_ID/permissions?role=test+users.
67
- */
68
- @interface FBTestSession : FBSession
69
-
70
- /// The app access token (composed of app ID and secret) to use for accessing test users.
71
- @property (readonly, copy) NSString *appAccessToken;
72
- /// The ID of the test user associated with this session.
73
- @property (readonly, copy) NSString *testUserID;
74
- /// The App ID of the test app as configured in the plist.
75
- @property (readonly, copy) NSString *testAppID;
76
- /// The App Secret of the test app as configured in the plist.
77
- @property (readonly, copy) NSString *testAppSecret;
78
-
79
- /*!
80
- @abstract
81
- Constructor helper to create a session for use in unit tests
82
-
83
- @discussion
84
- This method creates a session object which uses a shared test user with the right permissions,
85
- creating one if necessary on open (but not deleting it on close, so it can be re-used in later
86
- tests). Calling this method multiple times may return sessions with the same user. If this is not
87
- desired, use the variant sessionWithSharedUserWithPermissions:uniqueUserTag:.
88
-
89
- This method should not be used in application code -- but is useful for creating unit tests
90
- that use the Facebook SDK.
91
-
92
- @param permissions array of strings naming permissions to authorize; nil indicates
93
- a common default set of permissions should be used for unit testing
94
- */
95
- + (id)sessionWithSharedUserWithPermissions:(NSArray*)permissions;
96
-
97
- /*!
98
- @abstract
99
- Constructor helper to create a session for use in unit tests
100
-
101
- @discussion
102
- This method creates a session object which uses a shared test user with the right permissions,
103
- creating one if necessary on open (but not deleting it on close, so it can be re-used in later
104
- tests).
105
-
106
- This method should not be used in application code -- but is useful for creating unit tests
107
- that use the Facebook SDK.
108
-
109
- @param permissions array of strings naming permissions to authorize; nil indicates
110
- a common default set of permissions should be used for unit testing
111
-
112
- @param uniqueUserTag a string which will be used to make this user unique among other
113
- users with the same permissions. Useful for tests which require two or more users to interact
114
- with each other, and which therefore must have sessions associated with different users. For
115
- this case, consider using kSecondTestUserTag and kThirdTestUserTag so these users can be shared
116
- with other, similar, tests.
117
- */
118
- + (id)sessionWithSharedUserWithPermissions:(NSArray*)permissions
119
- uniqueUserTag:(NSString*)uniqueUserTag;
120
-
121
- /*!
122
- @abstract
123
- Constructor helper to create a session for use in unit tests
124
-
125
- @discussion
126
- This method creates a session object which creates a test user on open, and destroys the user on
127
- close; This method should not be used in application code -- but is useful for creating unit tests
128
- that use the Facebook SDK.
129
-
130
- @param permissions array of strings naming permissions to authorize; nil indicates
131
- a common default set of permissions should be used for unit testing
132
- */
133
- + (id)sessionWithPrivateUserWithPermissions:(NSArray*)permissions;
134
-
135
- @end