GET /api/v4/facebook_accounts/accounts_list
Get Facebook Accounts List FB and IG

Request headers

Only registered user can perform this action
  Authentication - string - required
    Example of Authentication header : "Bearer TOKEN_FETCHED_FROM_SERVER_DURING_REGISTRATION"

Request body example

{
  "fb_token": "FB_TOKEN"
}

Success response body

{
  "fb_pages": [
    {
      "id": "107403835593002",
      "name": "FB PAGE NAME",
      "access_token": "FB TOKEN",
      "picture": "LOGO URL",
      "is_silhouette": false
    },
  ],
  "ig_accounts": [
    {
      "id": "17841457588919370",
      "name": "IG NAME",
      "username": "IG USER NAME",
      "profile_picture_url": "IG LOGO URL",
      "fb_token": "FB TOKEN(IG TOKEN)"
    }
  ]
}

Params

Param name Description
fb_token
required

Validations:

  • Must be a String