Phirehose Library gives "401 unauthorized" after migrating to v1.1


#1

I am using Phirehose Streaming API. I migrated my library for v1.1 as mentioned here: http://140dev.com/twitter-api-programming-blog/converting-the-140dev-twitter-framework-to-use-oauth-and-api-1-1/

Now when I run get_tweets.php, it gives me the error:

Phirehose: HTTP failure 1 of 20 connecting to stream: HTTP ERROR 401: Unauthorized (Error 401 Unauthorized

HTTP ERROR: 401

Problem accessing ‘/1.1/statuses/filter.json’. Reason:

    Unauthorized
). Sleeping for 10 seconds.

This used to work fine prior to 11 June 2013.

I have read several posts that mention about the Oauth credentials, the server time, etc. The Oauth credentials are correctly set. As for the server time, my server time is set to America/New York (Sat Jun 15 02:50:34 EDT 2013). I am not sure if that is an issue since it used to work fine on the same server before 11th June 2013. I did the “Sync time with time server” on my server.

The error still exists after doing these things. What could be the reason?


#2

I’m facing same problem… any update pls?


#3

Same here, I don’t know what is wrong.
It says:
Phirehose: HTTP failure 1 of 20 connecting to stream: HTTP ERROR 401: Authorization Required.

HTTP ERROR: 401
Problem accessing ‘/1.1/statuses/filter.json’. Reason: Unauthorized