0

i am trying to parse xml from twitter feeds and it was working fine and suddenly i started to get this:

Warning: simplexml_load_file(http://search.twitter.com/search.atom?q=%23jan26): failed to open stream: HTTP request failed! HTTP/1.1 420 unused in /var/www/test.php on line 20

1 Answer 1

2

I suggest trying this same request with curl or even in a browser from the same IP as this script is runnign and looking at the body of the error message.

However this is generally the result of rate limiting, meaning you're reqesting too often. YOu can see similar issues here.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.