Comments (7)
Keep in mind that we will need to store multiple ApiKey's and Token's to do a full scope of tests.
from pstwitterapi.
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.
Can you please start with the local configuration file, so we can move towards that locally for now?
from pstwitterapi.
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.
[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.
Did anyone look into this?
#34 has been submitted to use XML file for config. Can someone comment and help with review?
from pstwitterapi.
Closing.. no activity.
from pstwitterapi.
Related Issues (20)
- Import-Module -Name PSTwitterAPI is slow to load HOT 1
- Error "No OAuthSettings was found. Use 'Set-OAuthSettings' to set PSTwitterAPI ApiKey & Token." HOT 1
- Suggesting Link Change in README.md - "Resources" HOT 1
- Remove all `_` from function names HOT 51
- Error thrown when POST-ing large payload HOT 7
- How can I crowl Tweets by specific hashtag HOT 1
- Azure pipelines OAuth script variable HOT 1
- Azure pipelines Install module -Force HOT 3
- Secret Access Token not accepted HOT 1
- running Set-TwitterOAuthSettings in script HOT 3
- Invalid URL in function Send-TwitterBlocks_Destroy $ResourceUrl HOT 1
- Project School HOT 1
- SendTweetAsync ID is zero HOT 1
- Issue running PSTwitterAPI.bootstrap.ps1 on PS5.1
- Remove all `_` from function names
- Send-TwitterBlocks_Create code 215 Bad Authentication data HOT 6
- How do I upload a jpg and tweet that? HOT 4
- Error calling Send-TwitterDirectMessages_EventsNew: Bad Authentication Data HOT 1
- Get-TwitterStatuses_UserTimeline not displaying full_text HOT 5
- APIv2 (Essential) Support HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pstwitterapi.