1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Not a Bug Facebook returned the following error: API calls from the server require an appsecret_proof ar

Discussion in 'Resolved Bug Reports' started by James@MPT, Oct 2, 2015.

  1. James@MPT

    James@MPT Member

    Followed instructions to set up app with Xenforo in 1.4. Facebook API change caused an error that necessitated I pay for an upgrade to Xenforo. Now in version 1.5.1.

    When testing Facebook integration in XF, I get the following error.

    Facebook returned the following error: API calls from the server require an appsecret_proof argument.

    Any tips or pointers on this issue? I have searched for this error and nothing on this forum references it.

    Thanks!


    Additional Info:

    Previous issue that lead to me upgrading is explained here:
    https://xenforo.com/community/threads/facebook-integration-no-email-returned.101206/
     
    Last edited: Oct 2, 2015
  2. Chris D

    Chris D XenForo Developer Staff Member

    This seems to be related to an option you will have specifically switched on, as far as I can tell:

    upload_2015-10-3_14-5-21.png

    You will need to set "Require App Secret" to no. I'm guessing it's set to "Yes" at the moment.
     
  3. James@MPT

    James@MPT Member

    This worked, thanks!!!
     
  4. CasperB

    CasperB Member

    the test go trough, but for some reason is it not getting the email.

    [​IMG]
     
  5. Chris D

    Chris D XenForo Developer Staff Member

    I suspect that what we talked about in this thread is somewhat unrelated.

    However I just noticed you may be using an older version of XF and we may have fixed this issue since then.

    What version of XF are you currently running?

    EDIT: I'm fairly certain you need to be running at least version 1.4.9:
    https://xenforo.com/community/threads/xenforo-1-4-9-released.101801
     
  6. CasperB

    CasperB Member

    1.4.7 if i'm right
     
  7. Chris D

    Chris D XenForo Developer Staff Member

    Yeah I'm pretty sure this was fixed in 1.4.9.

    Facebook started forcing all Facebook apps that were created to be a certain API version, and then blocked them from being downgraded to another API version. A change in a more recent version of their API prevented email addresses coming in from their API. The solution was to upgrade our code to use the latest API version and this change happened in 1.4.9.

    You will need to upgrade to fix the issue.
     

Share This Page