[twitter-dev] Re: PHP Libraries for OAuth

2009-11-06 Thread jmathai

I pushed the 2.0 version of the library to Github and it includes
quite a few changes.

Docs:
http://wiki.github.com/jmathai/twitter-async

Release Notes:
http://wiki.github.com/jmathai/twitter-async/twitter-async-20-release-notes
# Added a new (preferred) API
You can now use get, post, delete, get_basic, post_basic and
delete_basic. Details here
# No longer asynchronous by default
Most people were using it synchronously and didn’t understand why you
had to access a response parameter to ensure the call completed.
useAsynchronous(true) should be used if you want to use it that way or
hard code the default value in _EpiTwitter.php)
# Revamped the exceptions
Details on the new exception hierarchy
# Added support for versioned URLs
# Fixed lots and lots of bugs
# Exposed response headers

On Nov 2, 2:25 pm, jmathai jmat...@gmail.com wrote:
 I think it will benefit all users of the library to document the
 method names for every call.  While it's somewhat trivial to determine
 the method names it still required just an ounce of brain power.  That
 ounce should be save for other tasks :).

 It's been on my todo list to document them all, but I've been lazy :)

 On Nov 1, 3:21 pm, Michael Mokrysz m...@46bit.com wrote:

  Thanks to both of you, having taken a better look at epitwitter's code
  I'd have to agree that's it's best to switch. I still like to be able
  to pretty much copy and paste urls from the documentation rather than
  having think how to convert it into the (albeit ingenious) conversion
  method EpiTwitter uses so I think I'll probably rewrite the __call
  function a little but keep the rest of the code.


[twitter-dev] Re: PHP Libraries for OAuth

2009-11-06 Thread jmathai

The new 2.0 version provides an alternative API to the __call
method :).
http://wiki.github.com/jmathai/twitter-async#usage_and_examples

On Nov 1, 3:21 pm, Michael Mokrysz m...@46bit.com wrote:
 Thanks to both of you, having taken a better look at epitwitter's code
 I'd have to agree that's it's best to switch. I still like to be able
 to pretty much copy and paste urls from the documentation rather than
 having think how to convert it into the (albeit ingenious) conversion
 method EpiTwitter uses so I think I'll probably rewrite the __call
 function a little but keep the rest of the code.


[twitter-dev] Re: PHP Libraries for OAuth

2009-11-02 Thread shiplu
For PHP, there is a pecl extension.

-- 
A K M Mokaddim
http://talk.cmyweb.net
http://twitter.com/shiplu
Stop Top Posting !!
বাংলিশ লেখার চাইতে বাংলা লেখা অনেক ভাল


[twitter-dev] Re: PHP Libraries for OAuth

2009-11-02 Thread jmathai

I think it will benefit all users of the library to document the
method names for every call.  While it's somewhat trivial to determine
the method names it still required just an ounce of brain power.  That
ounce should be save for other tasks :).

It's been on my todo list to document them all, but I've been lazy :)

On Nov 1, 3:21 pm, Michael Mokrysz m...@46bit.com wrote:
 Thanks to both of you, having taken a better look at epitwitter's code
 I'd have to agree that's it's best to switch. I still like to be able
 to pretty much copy and paste urls from the documentation rather than
 having think how to convert it into the (albeit ingenious) conversion
 method EpiTwitter uses so I think I'll probably rewrite the __call
 function a little but keep the rest of the code.


[twitter-dev] Re: PHP Libraries for OAuth

2009-11-01 Thread Scott Wilcox

I much prefer using http://wiki.github.com/jmathai/twitter-async

Scott.

On 1 Nov 2009, at 19:57, Michael Mokrysz wrote:


 Hi,

 I've been messing around with the API for a while now and I've been
 wondering whether there's any particular consensus over the best
 library to use with PHP? Up to now I've been using Abraham Williams'
 TwitterOAuth library, however since on github it seems there's been no
 updates for many months I thought I'd better check whether that's
 because there's no major bugs or because there's better libraries
 available?

 Best wishes,
 Michael Mokrysz



[twitter-dev] Re: PHP Libraries for OAuth

2009-11-01 Thread Michael Steuer


+1

I too started with Abraham's, but as you pointed out, that project is  
more or less stagnant and Abraham is working on other things. Totally  
understandable.


Jmathai's library is technically very sound, extremely well thought  
out and continuously being improved. Moreover, jmathai is very helpful  
and responds to questions/requests etc within hours.


Big fan.

Plus, you get the advantage of asynchronous calls...



On Nov 1, 2009, at 12:37 PM, Scott Wilcox sc...@tig.gr wrote:



I much prefer using http://wiki.github.com/jmathai/twitter-async

Scott.

On 1 Nov 2009, at 19:57, Michael Mokrysz wrote:



Hi,

I've been messing around with the API for a while now and I've been
wondering whether there's any particular consensus over the best
library to use with PHP? Up to now I've been using Abraham Williams'
TwitterOAuth library, however since on github it seems there's been  
no

updates for many months I thought I'd better check whether that's
because there's no major bugs or because there's better libraries
available?

Best wishes,
Michael Mokrysz




[twitter-dev] Re: PHP Libraries for OAuth

2009-11-01 Thread Michael Mokrysz

Thanks to both of you, having taken a better look at epitwitter's code
I'd have to agree that's it's best to switch. I still like to be able
to pretty much copy and paste urls from the documentation rather than
having think how to convert it into the (albeit ingenious) conversion
method EpiTwitter uses so I think I'll probably rewrite the __call
function a little but keep the rest of the code.


[twitter-dev] Re: PHP Libraries for OAuth

2009-11-01 Thread Scott Wilcox

Completely agreed with Michael there. I'm not for a minute suggesting  
Abraham's library is any less in value, I just come to appreciate the  
nature in which jmathai went about creating the library and it just  
seemed to be more 'natural' to work with.

Not to mention as Michael said - you have a question and you get a  
response quickly.

Scott.

On 1 Nov 2009, at 23:12, Michael Steuer wrote:


 +1

 I too started with Abraham's, but as you pointed out, that project  
 is more or less stagnant and Abraham is working on other things.  
 Totally understandable.

 Jmathai's library is technically very sound, extremely well thought  
 out and continuously being improved. Moreover, jmathai is very  
 helpful and responds to questions/requests etc within hours.

 Big fan.

 Plus, you get the advantage of asynchronous calls...



 On Nov 1, 2009, at 12:37 PM, Scott Wilcox sc...@tig.gr wrote:


 I much prefer using http://wiki.github.com/jmathai/twitter-async

 Scott.

 On 1 Nov 2009, at 19:57, Michael Mokrysz wrote:


 Hi,

 I've been messing around with the API for a while now and I've been
 wondering whether there's any particular consensus over the best
 library to use with PHP? Up to now I've been using Abraham Williams'
 TwitterOAuth library, however since on github it seems there's  
 been no
 updates for many months I thought I'd better check whether that's
 because there's no major bugs or because there's better libraries
 available?