Giter Site home page Giter Site logo

Comments (6)

stcheng avatar stcheng commented on April 27, 2024 1

The v17.0.1 has been release. Please post here if the SDK works for you.
@jeffrey-daylight @davidhanlonJCM @loebpaul

from facebook-nodejs-business-sdk.

davidhanlonJCM avatar davidhanlonJCM commented on April 27, 2024

yeah... supporting 17 would be ideal

from facebook-nodejs-business-sdk.

stcheng avatar stcheng commented on April 27, 2024

we realized a bug in the v17 and after fixing this we will create a new release.

from facebook-nodejs-business-sdk.

loebpaul avatar loebpaul commented on April 27, 2024

having the same issue. just signed up for a new ad account (which can only use api version 17) and this sdk doesn't work

from facebook-nodejs-business-sdk.

loebpaul avatar loebpaul commented on April 27, 2024

Thank you I am no longer getting an error about the version, however I am still unable to get started by following the Node.js sample code. I get an error

Error
    at FacebookRequestError.FacebookError [as constructor] (node_modules/facebook-nodejs-business-sdk/dist/cjs.js:351:16)
    at new FacebookRequestError (node_modules/facebook-nodejs-business-sdk/dist/cjs.js:373:129)
       at process.processImmediate (node:internal/timers:475:21) {
  message: '(#100) Missing permissions',
  status: 400,
  response: {
    error: {
      message: '(#100) Missing permissions',
      type: 'OAuthException',
      code: 100,
      fbtrace_id: 'AHpGGpPNxtQ-nfclGRbAPfc'
    }
  },
  headers: {
    vary: 'Origin',
    'x-ad-account-usage': '{"acc_id_util_pct":0}',
    'cross-origin-resource-policy': 'cross-origin',
    'x-app-usage': '{"call_count":3,"total_cputime":0,"total_time":1}',
    'content-type': 'application/json',
    'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#100) Missing permissions"',
    'access-control-allow-origin': '*',
    'facebook-api-version': 'v17.0',
    'strict-transport-security': 'max-age=15552000; preload',
    pragma: 'no-cache',
    'cache-control': 'no-store',
    expires: 'Sat, 01 Jan 2000 00:00:00 GMT',
    'x-fb-request-id': 'AHpGGpPNxtQ-nfclGRbAPfc',
    'x-fb-trace-id': 'FX0RKhkUcm/',
    'x-fb-rev': '1007709848',
    'x-fb-debug': 'UnyHp1v2uuFKnmQsFknOfg4u62FpnymeAfbJ7zr+HsIdLhG4a+IrSFtUeImYJmCFdYgYUICSPtOAENL8tYEDnw==',
    date: 'Tue, 20 Jun 2023 20:58:43 GMT',
    'alt-svc': 'h3=":443"; ma=86400',
    connection: 'keep-alive',
    'content-length': '124'
  },
  method: 'GET',
  url: 'https://graph.facebook.com/v17.0/act_123..?fields=name&access_token=xyz...',

from facebook-nodejs-business-sdk.

stcheng avatar stcheng commented on April 27, 2024

@loebpaul this issue has been closed. if you're facing other issues, you could create a different issue or report it via the support channel.

from facebook-nodejs-business-sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.