VulcanJS / Vulcan

🌋 A toolkit to quickly build apps with React, GraphQL & Meteor
http://vulcanjs.org
MIT License
7.98k stars 1.89k forks source link

How to User Possible Providers #1732

Closed ghost closed 7 years ago

ghost commented 7 years ago

How to use possible provider like embedly and embedapi in my meteor app?

When I am using this it is generating following error

[Error: failed [401] {"error_code": 401, "error_message": "Invalid `key` provided: 123foo. To find your key, log into https://app.embed.ly -> API.", "type": "error"}]

in private setting i added

"private": {
    "embedProvider": "embedly",
      "embedly": {
      "apiKey": "123foo"
    }
  }

and using following code

const embedProvider = getSetting('embedProvider', 'embedly');

SachaG commented 7 years ago

See http://docs.vulcanjs.org/embed.html