Skip to content

Don't force directory structure on the user of your library #67

Open

Description

@funkjunky

Why can't I simply provide the configurations in the code?

Don't assume you know how to architect code better than your clients.

Activity

  1. kevgathuku commented on Nov 27, 2017

    @kevgathuku

    You can still provide the config to the Twitter object directly in your code
    i.e.

    let config = {
      consumerKey: "xxx",
      consumerSecret: "xxx",
      accessToken: "xxx",
      accessTokenSecret: "xxx",
      callBackUrl: "xxx"
    };
    let twitter = new Twitter(config);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions