[twitter-dev] Re: Fully Featured PHP 5.3 Twitter Client
Backslashes were a stupid choice, but seeing as string concatenation is a period in PHP, they couldn't really use that like C# does. On Nov 13, 8:18 pm, Zac Bowling zbowl...@gmail.com wrote: Still find PHP Namespaces weird. I wish one of the other proposals won out. Zac Bowling On Fri, Nov 13, 2009 at 10:19 AM, Jonathan Wage jonw...@gmail.com wrote: Hi Everyone, Just wanted to let the group know that I've written a OO interface to the Twitter API for PHP 5.3 http://github.com/jwage/Twitter The above link has a pretty descriptive README showing at the bottom, but here are some quick examples to give you a taste! $client = new \Twitter\Client\HTTP('username', 'password'); $statuses = new \Twitter\Api\Statuses($client); $statuses-updateStatus('my new status'); $account = new \Twitter\Api\Account($client); $account-updateProfileImage('/path/to/image.jpg'); Thanks, Jon -- Jonathan H. Wage (+1 415 992 5468) Open Source Software Developer Evangelist sensiolabs.com | jwage.com | doctrine-project.org | symfony-project.org You should follow me on Twitter:http://www.twitter.com/jwage You can contact Jonathan about Doctrine, Symfony and Open-Source or for training, consulting, application development, or business related questions at jonathan.w...@sensio.com
[twitter-dev] Re: Fully Featured PHP 5.3 Twitter Client
Hi Jonathan, Very impressive! How much testing have you done on the library? Do you know if every function works or are there known bugs? I'm looking to replace EpiTwitter for a library with simple function calls. Cheers, Yonas On Nov 13, 1:19 pm, Jonathan Wage jonw...@gmail.com wrote: Hi Everyone, Just wanted to let the group know that I've written a OO interface to the Twitter API for PHP 5.3 http://github.com/jwage/Twitter The above link has a pretty descriptive README showing at the bottom, but here are some quick examples to give you a taste! $client = new \Twitter\Client\HTTP('username', 'password'); $statuses = new \Twitter\Api\Statuses($client); $statuses-updateStatus('my new status'); $account = new \Twitter\Api\Account($client); $account-updateProfileImage('/path/to/image.jpg'); Thanks, Jon -- Jonathan H. Wage (+1 415 992 5468) Open Source Software Developer Evangelist sensiolabs.com | jwage.com | doctrine-project.org | symfony-project.org You should follow me on Twitter:http://www.twitter.com/jwage You can contact Jonathan about Doctrine, Symfony and Open-Source or for training, consulting, application development, or business related questions at jonathan.w...@sensio.com
[twitter-dev] Re: Fully Featured PHP 5.3 Twitter Client
That looks really cool, I need a new backend to run my iPhone push notifications through and this might be a winner! On Nov 13, 6:55 pm, Yonas yona...@gmail.com wrote: Hi Jonathan, Very impressive! How much testing have you done on the library? Do you know if every function works or are there known bugs? I'm looking to replace EpiTwitter for a library with simple function calls. Cheers, Yonas On Nov 13, 1:19 pm, Jonathan Wage jonw...@gmail.com wrote: Hi Everyone, Just wanted to let the group know that I've written a OO interface to the Twitter API for PHP 5.3 http://github.com/jwage/Twitter The above link has a pretty descriptive README showing at the bottom, but here are some quick examples to give you a taste! $client = new \Twitter\Client\HTTP('username', 'password'); $statuses = new \Twitter\Api\Statuses($client); $statuses-updateStatus('my new status'); $account = new \Twitter\Api\Account($client); $account-updateProfileImage('/path/to/image.jpg'); Thanks, Jon -- Jonathan H. Wage (+1 415 992 5468) Open Source Software Developer Evangelist sensiolabs.com | jwage.com | doctrine-project.org | symfony-project.org You should follow me on Twitter:http://www.twitter.com/jwage You can contact Jonathan about Doctrine, Symfony and Open-Source or for training, consulting, application development, or business related questions at jonathan.w...@sensio.com
[twitter-dev] Re: Fully Featured PHP 5.3 Twitter Client
Still find PHP Namespaces weird. I wish one of the other proposals won out. Zac Bowling On Fri, Nov 13, 2009 at 10:19 AM, Jonathan Wage jonw...@gmail.com wrote: Hi Everyone, Just wanted to let the group know that I've written a OO interface to the Twitter API for PHP 5.3 http://github.com/jwage/Twitter The above link has a pretty descriptive README showing at the bottom, but here are some quick examples to give you a taste! $client = new \Twitter\Client\HTTP('username', 'password'); $statuses = new \Twitter\Api\Statuses($client); $statuses-updateStatus('my new status'); $account = new \Twitter\Api\Account($client); $account-updateProfileImage('/path/to/image.jpg'); Thanks, Jon -- Jonathan H. Wage (+1 415 992 5468) Open Source Software Developer Evangelist sensiolabs.com | jwage.com | doctrine-project.org | symfony-project.org You should follow me on Twitter: http://www.twitter.com/jwage You can contact Jonathan about Doctrine, Symfony and Open-Source or for training, consulting, application development, or business related questions at jonathan.w...@sensio.com