Skip to content

bundle couldn't configure in symfony 4 #13

Description

@OwaisAslam92

working with this bundle on Symfony 4 and added its configuration in linkedin.yaml as below:

services:
Happyr\LinkedIn\LinkedIn:
class: Happyr\LinkedIn\LinkedIn
arguments: ['%env(LINKEDIN_API_KEY)%', '%env(LINKEDIN_API_SECRET)%']
happyr_linkedin:
app_id: 'xxxxxx'
app_secret: 'xxxxxx'
request_format: 'json' # Default
response_format: 'array' # Default
http_client: 'httplug.client' # Service ID for an object implementing Http\Client\HttpClient
http_message_factory: 'httplug.message_factory' # Service ID for an object implementing Http\Message\MessageFactory

But getting this error

The configuration key "app_id" is unsupported for definition "happyr_linkedin" in "linkedin.yaml". Allowed configuration keys are "alias", "parent", "class", "shared", "synthetic", "lazy", "public", "abstract", "deprecated", "factory", "file", "arguments", "properties", "configurator", "calls", "tags", "decorates", "decoration_inner_name", "decoration_priority", "autowire", "autoconfigure", "bind" in linkedin.yaml (which is loaded in resource "linkedin.yaml").

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions