Permalink
Browse files

Updated default URL_BASE to https; Changed UserAgent signature to ref…

…lect move to github;
  • Loading branch information...
1 parent d8e6c28 commit c299dfa1b095e268dce8ed1f6ac93ccbf403a832 @fennb committed Sep 1, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/Phirehose.php
View
@@ -14,7 +14,7 @@
/**
* Class constants
*/
- const URL_BASE = 'http://stream.twitter.com/1/statuses/';
+ const URL_BASE = 'https://stream.twitter.com/1/statuses/';
const FORMAT_JSON = 'json';
const FORMAT_XML = 'xml';
const METHOD_FILTER = 'filter';
@@ -139,7 +139,7 @@
protected $idleReconnectTimeout = 90;
protected $avgPeriod = 60;
protected $status_length_base = 10;
- protected $userAgent = 'Phirehose/0.2.4 +http://code.google.com/p/phirehose/';
+ protected $userAgent = 'Phirehose/0.2.gitmaster +https://github.com/fennb/phirehose';
protected $filterCheckMin = 5;
protected $filterUpdMin = 120;
protected $tcpBackoff = 1;

0 comments on commit c299dfa

Please sign in to comment.