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

Facebook Configure / Setup Script Not working on newly created Page/App (using v3.2 Graph API) #128

Open
antonrifco opened this issue Nov 18, 2018 · 10 comments

Comments

@antonrifco
Copy link

antonrifco commented Nov 18, 2018

  • Expected behaviour:
    After running claudia update --configure-fb-bot, the bot should exit successfully (indicating succesful bot setup)

  • What actually happens:
    However, on newly created App (using newly created Page), it seems that this App is mandatorily using v.3.2 Graph API, and it exit with following error:

{"error":{"message":"(#100) The parameter subscribed_fields is required.","type":"OAuthException","code":100,"fbtrace_id":"xxxxxxx"}}

  • Which bot engine (facebook, skype...):
    Facebook

  • Link to a minimal, executable project that demonstrates the problem:

  • Steps to install the project:
    Any Standard Facebook Bot

  • Steps to reproduce the problem:
    On a newly created Facebook App (on newly created Facebook Page),
    run: claudia create --region ap-southeast-1 --api-module bot
    then, run : claudia update --configure-fb-bot

after awhile, it exit with following error:
{"error":{"message":"(#100) The parameter subscribed_fields is required.","type":"OAuthException","code":100,"fbtrace_id":"xxxxxxx"}}

@antonrifco antonrifco changed the title Facebook Configure / Setup Script Not working on newly created Page/App Facebook Configure / Setup Script Not working on newly created Page/App (using v3.2 Graph API) Nov 18, 2018
@rrohan92
Copy link

@antonrifco You can change to v3.1 as a workaround in setup.js under the facebook folder in the source code.

@antonrifco
Copy link
Author

got it. but, shouldn't we make a proper fix to support this?

@djangobeatty
Copy link

@antonrifco You can change to v3.1 as a workaround in setup.js under the facebook folder in the source code.

Sorry as I'm new to this and end user, but where is this folder located? (or are there any hacky workarounds as I'm just doing an initial PoC)

@andhess
Copy link

andhess commented Feb 3, 2019

Having the same issue here.

Would someone mind showing me how to make the change to use API v3.1 in lib/facebook/setup.js?

Maybe @stojanovic or @antonrifco? Cool with a hacky workaround, just don't see a place to do so. Thanks 🙏

@94929
Copy link

94929 commented Feb 22, 2019

@djangobeatty

I believe <PROJECT_FOLDER>/node_modules/claudia-bot-builder/lib/facebook/setup.js is the file.

But I'm not sure how to change the version.

@AmrZoheir
Copy link

copying from @andhess
'Having the same issue here.

Would someone mind showing me how to make the change to use API v3.1 in lib/facebook/setup.js?

Maybe @stojanovic or @antonrifco? Cool with a hacky workaround, just don't see a place to do so. Thanks 🙏'

@prathmj
Copy link

prathmj commented Apr 9, 2019

Check PR #133 - it should solve this

@bionicmaster
Copy link

I have the same issue here, it appears like this is an issue since some time ago and it's still open, the only workaround is editing or forking the library?

@rluisnpt1
Copy link

Same issue here..

@tomchiverton
Copy link

This project is dead, Jim.

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

10 participants