Thank you for your reply,
[r...@twirelezz ~]# php -version
PHP 5.1.6 (cli) (built: Apr 7 2009 08:00:04)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
Not bad, now I updated PHP to its lastest version:
[r...@twirelezz ~]# php -v
PHP 5.3.1 (cli) (built: Nov 20 2009 17:51:14)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2009 Zend Technologies
However, I'm getting the same response: twitter won't give me the
auth_token :( (or at least, it's giving me a null response)
On 25 nov, 18:36, jmathai <jmat...@gmail.com> wrote:
> Check the versions of software you're using. CentOS likes to make you
> jump through hoops in order to get newer software.
> Namely, check your PHP version.
> On Nov 25, 9:08 am, aztroboy <jbasur...@gmail.com> wrote:
> > Hello there! I'm using a PHP Twitter OAuth library (twitter.abrah.am),
> > and it works perfect on Windows: the php script looks asks twitter for
> > an auth token. However, as soon as I put the same script on CentOS
> > (with its default httpd service), it won't give any auth tokens at
> > all.
> > The script uses cURL to get the token from twitter. I've used cURL
> > (curlwww.google.com) and it works fine in console.
> > What could be going wrong here? Is there something I should add of
> > change first in order to receive the tokens? By the way, I got the
> > CentOS default FW set allowing traffic on port 80 and SSH only.
> > I would like to ask for a hint about what should I do, I'm kinda
> > newbie on CentOS.
> > thank you in advance