Comments (6)
Net::Twitter, by default, uses LWP::UserAgent internally. So, you should be able to use it's proxy support. If I understand it's documentation, setting the appropriate environment variables and calling $nt->ua->env_proxy
should work.
Unrelated to the proxy issue, please give Twitter::API a try. It's a rewrite of Net::Twitter with fewer dependencies and avoids many of the contortions Net::Twitter goes through to provide backwards compatibility with both older versions of itself and the Twitter API.
It, by default, uses HTTP::Tiny internally. If I understand it's documentation, simply setting the appropriate environment variables will get you proxy support.
from net-twitter.
Thank you very much for the prompt reply. I'll definitely give it a try!
from net-twitter.
from net-twitter.
Ah! Hadn't remembered I'd called env_proxy
.
Can we close this issue?
from net-twitter.
from net-twitter.
from net-twitter.
Related Issues (20)
- 500 Can't connect to API HOT 3
- rate_limit_test method fails with error 400 when using LWP::UserAgent::POE
- lib/Net/Twitter.pod POD file starts with a shellbang
- Net::Twitter::Role::OAuth example not working HOT 1
- Errors from Devel::StackTrace HOT 2
- Consider using JSON::MaybeXS HOT 2
- t/10_net-twitter-regression.t and t/12_identica.t fail (with newest JSON::XS?) HOT 1
- Doc Links
- include_email for api 1.1 HOT 3
- spelling error in pod
- Random Error message: "Status is over 140 characters. at twit.pl line 461" HOT 1
- Useless use of \E at t/stringent-encoding.t
- warnings with Moose 2.2004 HOT 2
- media_ids parameter should accept a list HOT 1
- [PRC] How may I be of help? HOT 8
- Code:Modification of a read-only value attempted at Net/Twitter/Core.pm line 233. HOT 1
- Add a deprecation notice to Net::Twitter pointing users to Twitter::API, highlighting Twitter::API::Trait::Migration.
- Sending direct messages seems broken HOT 1
- unretweet method 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 net-twitter.