You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running the minimum example setup as provided in the /examples/ad_account_node.js results in the error message: CrashReporter: SDK crash detected!
Not be able to find appID, fail to send report to server.
Steps/Sample code to reproduce the issue
Run a .js file with the code given in the example
constbizSdk=require('facebook-nodejs-business-sdk');constAdAccount=bizSdk.AdAccountconstaccess_token={META_ACCESS_TOKEN};constapp_secret={META_APP_SECRET};constapp_id={META_APP_ID};constid="act_"+{META_ACCOUNT_ID};constapi=bizSdk.FacebookAdsApi.init(access_token);constshowDebugingInfo=true;// Setting this to true shows more debugging info.if(showDebugingInfo){api.setDebug(true);}constlogApiCallResult=(apiCallName,data)=>{console.log(apiCallName);if(showDebugingInfo){console.log("Data:"+JSON.stringify(data));}};constfields=["name"];constparams={};constsample_code=newAdAccount(id).get(fields,params);logApiCallResult("sample_code api call complete.",sample_code);
Observed Results:
The console repeatedly prints the following error:
CrashReporter: SDK crash detected!
Not be able to find appID, fail to send report to server.
Expected Results:
The name of the account linked with the provided account_id should be printed.
The text was updated successfully, but these errors were encountered:
Unless I am missing something very obvious, there appears to be no actual reference to the app_id after it is defined in any of the code examples. In the Javascript SDK the api is initialised with the app_id and app_secret but this doesn't appear to be the case in the NodeJs SDK.
Which SDK version are you using?
v19.0.0
What's the issue?
Running the minimum example setup as provided in the /examples/ad_account_node.js results in the error message:
CrashReporter: SDK crash detected!
Not be able to find appID, fail to send report to server.
Steps/Sample code to reproduce the issue
Run a .js file with the code given in the example
Observed Results:
The console repeatedly prints the following error:
Expected Results:
The name of the account linked with the provided account_id should be printed.
The text was updated successfully, but these errors were encountered: