facebook-nodejs-business-sdk icon indicating copy to clipboard operation
facebook-nodejs-business-sdk copied to clipboard

Where's the complete documentation?

Open ffxsam opened this issue 1 year ago • 2 comments

The README shows a few examples, e.g.:

const account = new AdAccount('act_<AD_ACCOUNT_ID>');

console.log(account.id) // fields can be accessed as properties
account
  .createCampaign(
    [Campaign.Fields.Id],
    {
      [Campaign.Fields.name]: 'Page likes campaign', // Each object contains a fields map with a list of fields supported on that object.
      [Campaign.Fields.status]: Campaign.Status.paused,
      [Campaign.Fields.objective]: Campaign.Objective.page_likes
    }
  )
  .then((result) => {
  })
  .catch((error) => {
  });

But where's the full docs? There's no type awareness/IntelliSense, so it's impossible to tell what methods are available on the account object. E.g. how do I work with the Offline Conversions API?

ffxsam avatar Oct 22 '22 19:10 ffxsam