Null response


#1

Hello,
We try to get user timeline with twitter API. But it keep getting response: null.
Our example: http://xclusivetechja.com/

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

  • update PHP to latest PHP
  • Enable Curl
  • Set CURLOPT_SSL_VERIFYPEER to false

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:


#2

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


#3

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
Host xclusivetechja.com
Referer http://xclusivetechja.com/
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Firefox/31.0
X-Requested-With XMLHttpRequest


#4

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


#5

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


#6

Hello, any news for this?
Thank you