Path

ez projects / nxc_twitter / forum / general / how to connect to twitter o...


How to connect to twitter over proxy?

You need to be logged in to post messages in the forums. New users may register here.

Rafał Kostecki

Member since:
12 June 2012

Posts: 3

Thursday 03 January 2013 12:13:51 pm

I have changed in twitteroauth.php in function http
curl_setopt($ci, CURLOPT_HEADER, FALSE);
+ curl_setopt($ci, CURLOPT_PROXYUSERPWD, 'login:password');
+ curl_setopt($ci, CURLOPT_PROXY, 'proxy:port');

But response is NULL.

Up

Serhey Dolgushev

Member since:
03 November 2007

Posts: 15

Tuesday 08 January 2013 5:48:01 pm

Hi Rafal,
Seems like you are doing everything correct. Have you tried to get error by http://php.net/manual/en/function.curl-errno.php?
Anyway i suggest you to checkout http://projects.ez.no/nxc_social_networks.
Up

// Heath

Member since:
04 March 2007

Posts: 94

Sunday 31 August 2014 7:59:47 pm

Hello Rafał,

This solution is deprecated. Please do not use for new projects.

Please use http://projects.ez.no/nxc_social_networks instead!

I hope this helps others!

Cheers,
Heath

Brookins Consulting | http://brookinsconsulting.com/
Certified | http://auth.ez.no/certification/verify/380350
Solutions | http://projects.ez.no/users/community/brookins_consulting
GitHub | https://github.com/brookinsconsulting
eZpedia community documentation project | http://ezpedia.org
eZecosystem - eZ Publish Planet | http://ezecosystem.org
eZPublishLegacy - eZ Publish Release Mirror | http://ezpublishlegacy.com

Up

You need to be logged in to post messages in the forums. New users may register here.