I'm currently getting started with the facebook-nodejs-business-sdk. I'm trying to retrieve one campaign by ID.
However, I'm not having types/intellisense which makes it hard to consume the API as someone who doesn't have experience with it.
Steps/Sample code to reproduce the issue
This is my approach:
const campaign = await (new Campaign(campaignId)).get([
'id',
'name',
'ads{adset_id,name,leadgen_forms{id,name}}',
]);
console.log('no intellisense for "id"', campaign.id)
console.log('no intellisense for "name"', campaign.name)
Observed Results:
What happened? This could be a description, log output, etc.
no intellisense
Expected Results:
What did you expect to happen?
having intellisense
Which SDK version are you using?
18.0.4 with VSCode
What's the issue?
I'm currently getting started with the
facebook-nodejs-business-sdk
. I'm trying to retrieve one campaign by ID. However, I'm not having types/intellisense which makes it hard to consume the API as someone who doesn't have experience with it.Steps/Sample code to reproduce the issue
This is my approach:
Observed Results:
Expected Results: