Facebook integration in JavaScript apps running in the browser and in Cordova.
OpenFB is an easy way for Facebook integration in JavaScript apps. No dependency. No Facebook plugin. No Facebook SDK. OpenFB allows you to login to Facebook and executes any Facebook Graph API request.
Install with npm
$ npm install openfb
Install with Yarn
$ npm add openfb
Install with Bower
$ bower install openfb
First step, create a Facebook App:
Create App
Create App ID
Second step, create Facebook Login:
Set Up
of the "Facebook Login" sectionOn the "Client OAuth Settings", add the following URLs in the "Valid OAuth Redirect URIs" field:
Click Save Changes
Want to contribute? Follow these recommendations.
Designed with ♥ by CJ Patoilo. Licensed under the MIT License.