Comments (10)
@Saved-by-Him
Given the age of the OS, you should ensure it is capable and configured to use TLS 1.2.
You can use the following to see what your .NET environment supports.
[enum]::GetNames([Net.SecurityProtocolType])
If you see Tls12
, you can euse the following command to force TLS 1.2.
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
If this works, you would need to add this to your PowerShell $PROFILE.
Here is Microsoft's article How to enable TLS 1.2 on clients. Within it, there is a link for an update that may be required.
Also, please be aware that significant changes to the Twitter API tier access will happen near the end of the month.
from bluebirdps.
I have done all of this.
In fact I have [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 in my profile since two years ago to resolve an issue with PSGallery.
I've tried:
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls13
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls11
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls
Still no luck.... :-(
from bluebirdps.
Immediately after getting the error, run the following command and add the results as a comment.
(Get-BluebirdPSHistory -Last 1).ApiResponse.errors
from bluebirdps.
(Get-BluebirdPSHistory -Last 1).ApiResponse.errors
No output since the BluebirdPS Module can not get beyond the initialization step...
BluebirdPS\Set-TwitterAuthentication
API Key: *************************
API Secret: **************************************************
Access Token: **************************************************
Access Token Secret: *********************************************
Set-TwitterAuthentication: Authentication failed because the remote party sent a TLS alert: 'HandshakeFailure'.
from bluebirdps.
Is this a new Twitter dev app? Can you post screenshots of the app from the dev portal? Be careful not to include any keys or secrets.
from bluebirdps.
Nope. it's a release version I beleive. I installed it from PSGallery through:
PS> Installmodule -Name BluebirdPS -Scope CurrentUser
PS> Get-Module BluebirdPS | fl
Name : BluebirdPS
Path : C:\Users\redacted\Documents\PowerShell\Modules\BluebirdPS\0.8.3\BluebirdPS.psm1
Description : A Twitter Automation Client for PowerShell 7. Tweet, retweet, send direct messages, manage lists, and more.
ModuleType : Script
Version : 0.8.3
PreRelease :
NestedModules : {BluebirdPS}
ExportedFunctions : {Add-TwitterFriend, Add-TwitterList, Add-TwitterListMember, Add-TwitterListSubscription…}
ExportedCmdlets :
ExportedVariables :
ExportedAliases :
from bluebirdps.
Sorry, I don't even know what a "dev portal" is...
from bluebirdps.
Before you can use BluebirdPS, you must create a project and application in the Twitter developer portal - https://developer.twitter.com/en/portal/dashboard
See https://docs.bluebirdps.dev/prerequisites/ to help get you started.
In case you haven't heard, Twitter will soon (end of this month) change their tiers to Free and Basic.
The Free tier allows you to create a limited number tweets per month. And that is all, no user lookup (other than yourself), no searching for other tweets.
The Basic tier, I believe will be $100 a month.
For details on the Twitter API tiers, see https://developer.twitter.com/en/docs/twitter-api/getting-started/about-twitter-api.
I won't be continuing development of BluebirdPS so, even if you do choose to pay Twitter for the Basic tier, the current version will be the last and no bugfixes or new features will be added.
Good luck.
from bluebirdps.
I already have an App and also a project. My App worked well for almost 5 years. Now Twitter has changed everything and I can no longer interact with it! Why can't I connect to it using my API_Key and my other credentials?
Also, what is that "TLS alert: 'HandshakeFailure'" ?
Thanks.
from bluebirdps.
Due to changes in the Twitter API, no new development will occur for this project.
from bluebirdps.
Related Issues (20)
- Add Commands for New Bookmark V2 Endpoints HOT 2
- Update documentation HOT 2
- Add Functionality to Parse User and Pinned Tweets to Find Mastodon Account References
- BaseEntity GetEntities() Does Not Instantiate Annotations, CashTags, HashTags, and Mentions Correctly
- Remove ListId Alias from List Commands
- Publish-Tweet - Fails to render API response
- Add capability for users to opt-in to waiting until rate limit reset time
- Add $BluebirdPSLastResponse session variable
- [BUG] Find-TwitterMastodonLinks - Matching criteria incorrectly matches on some Mastodon instance hostnames HOT 2
- Add capability to set BluebirdPS Configuration RateLimitAction value via environment variables
- [DISCUSSION] HOT 4
- Find-TwitterMastodonLinks IgnoreDomain parameter is not working
- Change $BluebirdPSVersion to use assembly version HOT 1
- Add enhancements to Find-TwitterMastodonLinks HOT 1
- Cannot Publish-Tweet HOT 1
- Add Support for Reverse Chronological Timeline endpoint HOT 1
- Publish-Tweet: Getting Error Message when publishing Tweet HOT 6
- Special characters in Tweet HOT 1
- Japanese characters were garbled when using Publish-Tweet.
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 bluebirdps.