J7mbo / twitter-api-php

The simplest PHP Wrapper for Twitter API v1.1 calls
MIT License
1.82k stars 802 forks source link

Added optional proxy setting #219

Closed pietmarcus closed 7 years ago

pietmarcus commented 7 years ago

Add optional proxy setting for CURL.

J7mbo commented 7 years ago

Could you look at #203 on the develop branch - this might already be a feature you like (optional cURL parameters).

pietmarcus commented 7 years ago

I didn't see that option, sorry. Only downside is that the proxy-options to performRequest have to be entered at every call, instead of once in the settings-array.

J7mbo commented 7 years ago

Yep, the api isn't particularly nice for this, but it's a small thing. I do need to merge develop into master when I get around to it, but feel free to check out that branch and have that feature if you need it until then.