Bearer logo

Quickly use Facebook's API to build your own integration

  • Call the Facebook API in 2 minutes
  • Integrate into your App with our universal API client
  • Out-of-the-box managed OAuth2 flow & credentials
  • Transform and extend Facebook's API with custom built functions
  • Log every API call to Facebook with end-to-end trace
  • Manage all your API usage from Bearer's Dashboard

Call the Facebook API with Bearer client

// npm install @bearer/node
.auth('AUTH_ID') // Check the code in the box below to learn more about identity
.then(({ data }) => console.log(data))
.catch(e => console.log(e))

Ask for the Facebook identity of your users

<script src=""></script>
<button class="btn btn-primary" onclick="myConnectButton()">
Connect to Facebook
const bearerClient = bearer('YOUR_BEARER_PUB_KEY')
function myConnectButton() {
.then(({ authId }) => {
// Use this authId like bearer.auth(authId).get(..
console.log('AUTH_ID for this user', authId)

In one click, you can also generate an identity using your own Facebook account directly from the Dashboard

Manage & Monitor


Manage API credentials in a central place, rotate them in one click.


Automatically log every API call, find errors and debug in a snap with end-to-end trace.

Transform & extend APIs

Create functions to transform and re-expose APIs according to your needs.

Featured APIs

Bearer - Universal API Client


Docs & Help


Bearer is on TwitterBearer is on GitHubBearer is on FacebookBearer is on LinkedInBearer is on Medium
© Copyright Bearer 2019