Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Versioning Issues #28

Closed
yoann-trouillet opened this issue Feb 1, 2018 · 2 comments
Closed

Versioning Issues #28

yoann-trouillet opened this issue Feb 1, 2018 · 2 comments

Comments

@yoann-trouillet
Copy link

yoann-trouillet commented Feb 1, 2018

Hi ,

I am pretty much a noob to nodejs, javascript and the facebook API. So I apologies if this bug report isn't as helpfull as it could be.

I created a new Facebook App (today) and I am trying to get some ad insights (account.getInsights) but running into a versioning issue :

FacebookRequestError: (#2635) You are calling a deprecated version of the Ads API. Please update to the latest version: v2.12.
at FacebookRequestError.FacebookError [as constructor] (/Users/yoann/dev/src/track.jackmedia.io/node_modules/facebook-nodejs-ads-sdk/dist/cjs.js:319:16)
at new FacebookRequestError (/Users/yoann/dev/src/track.jackmedia.io/node_modules/facebook-nodejs-ads-sdk/dist/cjs.js:341:129)
at /Users/yoann/dev/src/track.jackmedia.io/node_modules/facebook-nodejs-ads-sdk/dist/cjs.js:507:15
at runCallback (timers.js:781:20)
at tryOnImmediate (timers.js:743:5)
at processImmediate [as _immediateCallback] (timers.js:714:5)

Guessing this is related to yesterday 2.12 release :
https://developers.facebook.com/ads/blog/post/2018/01/30/graph-api-212-release/

Any tips would be much appreciated ...

screen shot 2018-02-01 at 2 42 46 pm

@baytelman
Copy link

Having the same issue.

@scaydogdu
Copy link

scaydogdu commented Feb 10, 2018

update the version in cjs.js and api.js to v2.12
there are no major changes

@vicdus vicdus closed this as completed Jun 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants