GithubHelp home page GithubHelp logo

Comments (7)

mkellerman avatar mkellerman commented on September 26, 2024 1

Keep in mind that we will need to store multiple ApiKey's and Token's to do a full scope of tests.

from pstwitterapi.

ConstantineK avatar ConstantineK commented on September 26, 2024 1

Sounds good - I was going to start there anyway since I am not sure yet which configuration items would need to be stored (besides the most obvious ones), going to look at the relevant code and isolate the needed pieces first, test that it works, then start poking at the cloud.

from pstwitterapi.

mkellerman avatar mkellerman commented on September 26, 2024

Can you please start with the local configuration file, so we can move towards that locally for now?

from pstwitterapi.

mkellerman avatar mkellerman commented on September 26, 2024

Right now, all we need are these:

$OAuthSettings = @{
  ApiKey = $env:ApiKey
  ApiSecret = $env:ApiSecret
  AccessToken = $env:AccessToken
  AccessTokenSecret =$env:AccessTokenSecret
}
Set-TwitterOAuthSettings @OAuthSettings

But multiple sets of them.

from pstwitterapi.

mkellerman avatar mkellerman commented on September 26, 2024

[Suggestion] Instead of managing 4 different keys per group, we could make a single key.

ApiToken = "${env:ApiKey}:${env:ApiSecret}:${env:AccessToken}:${env:AccessTokenSecret}"

Or a JSON object, so it's the same as the config.json file?

$ApiToken = '{"ApiKey":"111","ApiSecret":"111","AccessToken":"111","AccessTokenSecret":"111"}'

from pstwitterapi.

mkellerman avatar mkellerman commented on September 26, 2024

Did anyone look into this?

#34 has been submitted to use XML file for config. Can someone comment and help with review?

from pstwitterapi.

mkellerman avatar mkellerman commented on September 26, 2024

Closing.. no activity.

from pstwitterapi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.