SSL Change

62 views
Skip to first unread message

John O'Brien III (ob3solutions)

unread,
Oct 4, 2011, 8:36:05 AM10/4/11
to yourTwapperKeeper
Everyone,
First I apologize for not actively answering questions on this
discussion forum. I will try to be better... :-)

As many of you might know, Twitter moved the streaming API to https
late last week.

I hope to upload files later today... but if you want to quickly fix
you should be able to do the following:


1. Stop archiving services.

2. Edit Phirehose.php

Change line:

from:

const URL_BASE = 'http://stream.twitter.com/1/statuses/';

to:

const URL_BASE = 'https://stream.twitter.com/1/statuses/';

Change line:

from:

@$this->conn = fsockopen($scheme . $streamIP, 80, $errNo, $errStr,
$this->connectTimeout);

to:

@$this->conn = fsockopen($scheme . $streamIP, 443, $errNo, $errStr,
$this->connectTimeout);

3. Restart archiving services.

If you have any questions, let me know.

v/r,
John
http://twitter.com/jobrieniii
http://www.linkedin.com/in/jobrieniii
Reply all
Reply to author
Forward
0 new messages