Happyr/LinkedInBundle

bundle couldn't configure in symfony 4

OwaisArain opened this issue · 0 comments

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").