To run the example project, clone the repo, and run pod install
from the Example directory first.
FBSDK-RACExtensions relay on: ReactiveCocoa v 2.5, FBSDKCoreKit v 4.1.0, FBSDKLoginKit v 4.1.0 and FBSDKShareKit v 4.1.0
RACExtesions for Facebook iOS SDK provide convince around block-based methods of SDK. Returned signals are cold (unles otherwise is stated) and start automatically upos subscription. Result of requests, authorisation, etc are sent back to you the subscriber.
FBSDKLoginManager* manager =
[[FBSDKLoginManager alloc] init];
[[manager rac_logInWithReadPermissions:@[
@"public_profile",
@"email",
@"user_photos",
@"user_birthday"
]]
subscribeNext:^(FBSDKLoginManagerLoginResult* result)
{
//You got your login result!
}
error:^(NSError* error)
{
//Or something went wrong...
}];
FBSDK-RACExtensions is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "FBSDK-RACExtensions"
If you need only log in functionality, you may use this:
pod "FBSDK-RACExtensions/FBSDKLoginKit-RACExtensions"
eagle-dan1349, [email protected]
FBSDK-RACExtensions is available under the MIT license. See the LICENSE file for more info.
See Facebook SDK lincense for it's usage.
Pull requests are welcome!