Skip to content

Facebook Connection Issue #59

@masonry47

Description

@masonry47

Describe the bug

Hi there,

We are having an issue adding an additional Facebook account. Awhile back we had previously successfully created the app on the Facebook side and configured the provider and added 2 different Facebook accounts (which we were invited in as Admins). All has worked as expected. We are now trying to add a third account, so we think all we need to do is be invited in as an "admin" to this additional account, which we have, and then just go add the new account with the page id. But we get this when trying to "connect".

2024-12-30 15:35:07 [ERROR] Couldn’t connect to Facebook Required parameter not passed: "code" - /public_html/releases/154553401c13ec0cfc8716252e5642dcd63d143d/vendor/league/oauth2-client/src/Tool/RequiredParameterTrait.php: 35.
2024-12-30 15:35:07 [ERROR] Facebook Response: Required parameter not passed: "code"
2024-12-30 15:35:07 [INFO] Request context:
$_GET = [
    'p' => 'admin/actions/social-poster/accounts/connect'
    'accountId' => '9'
    'error_code' => '100'
    'error_message' => 'Invalid Scopes: publish_to_groups. This message is only shown to developers. Users of your app will ignore these permissions if present. Please read the documentation for valid permissions at: https://developers.facebook.com/docs/facebook-login/permissions'
]

$_POST = []

Thanks!

Steps to reproduce

  1. Facebook Provider was previously configured
  2. Click "New Account"
  3. Save
  4. Connect

Craft CMS version

4.13.5

Plugin version

3.0.2

Multi-site?

No

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions