Skip to content

swellner/RxFacebook

Repository files navigation

RxFacebook

This library allows the usage of RxJava with the facebook SDK.

Example (With Retrolambda for brevity, but not required):

RxFacebook.getInstance(accessToken)
                  .request(Fields.ID,
                           Fields.NAME,
                           Fields.BIRTHDAY,
                           Fields.USER_FRIENDS,
                           Fields.GENDER)
                  .subscribe(facebookUser -> {
                    // use your facebookUser POJO as you wish :)
                  });

Look at the sample app for more.

Status

This library is at a early stage of development, so contributions are welcome.

Benefits

  • Avoid worrying about the facebook SDK;
  • Forget about messy callbacks;
  • Easy testing;
  • All what RX provides about transformation, filter, chaining...

About

Facebook SDK powered by RxJava

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages