There are cases where Zend_Service_Twitter can be used without 
authentication, but the constructor requires $username and $password to 
always be passed. For example, checking if a given username exists or not:



$tw = new Zend_Service_Twitter(null);

$exists = $tw->user->show($who)->id() !== null;



Since the first parameter is required, I can't simply do this:



$tw = new Zend_Service_Twitter();



I'm thinking that both constructor parameters should be optional, in 
order to more cleanly support these anonymous uses. Does this seem 
reasonable?                                       
_________________________________________________________________
Hotmail: Trusted email with powerful SPAM protection.
http://clk.atdmt.com/GBL/go/177141665/direct/01/

Reply via email to