Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,13 @@ openFB.api(
success: successHandler,
error: errorHandler
});
```
```

Logout from facebook

```
openFB.logout(successHandler,errorHandler);
```
The approach used in OpenFB (plain OAuth + direct requests to Graph API endpoints) is simple and lightweight, but it is definitely not perfect.

Pros:
Expand Down Expand Up @@ -107,8 +112,8 @@ The library works for both browser-based apps and Cordova/PhoneGap apps. When ru
cordova build ios
```

1. Run the project on device or in the emulator

1. Run the project on device or in the emulator
1. You can try out [sample app](https://github.com/anantkolvankar/cordova-open-fb-sample)

## AngularJS Wrapper

Expand Down