Null response


We try to get user timeline with twitter API. But it keep getting response: null.
Our example:

It’s only for that server/domain. We’ve tried on other server/domain and our code work:
We tried another possible solution regarding server:

  • update PHP to latest PHP
  • Enable Curl

Still doesn’t work.

What could be the error?
Is it possible that twiiter blocking server’s IP or anything else?

Hope to get answer from you soon.

Thank you :slight_smile:


What is the HTTP response code? what HTTP headers are you seeing? have you tried tracing the error?


Hi, did you mean this?

Connection keep-alive
Content-Type text/html
Date Sat, 30 Aug 2014 09:09:14 GMT
Keep-Alive timeout=5, max=100
Server Apache/2.4.10 (Unix) OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4
Transfer-Encoding chunked
X-Powered-By PHP/5.4.31

Accept application/json, text/javascript, /; q=0.01
Accept-Encoding gzip, deflate
Accept-Language en-US,en;q=0.5
Content-Length 315
Content-Type application/x-www-form-urlencoded; charset=UTF-8
Cookie __utma=121543425.650274874.1409088392.1409346411.1409444323.4; __utmz=121543425.1409088392.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utmb=121543425.0.10.1409444323; __utmc=121543425
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Firefox/31.0
X-Requested-With XMLHttpRequest


I would expect you to be receiving an HTTP status code back (200, 404, etc).


it’s : 200 OK 10,39s
checked via firebug


Hello, any news for this?
Thank you