401 error in twitter streaming api hosted in Amazon EC2
NickName:Thiago Ask DateTime:2014-08-09T20:44:35

401 error in twitter streaming api hosted in Amazon EC2

I have an set up a server in Amazon EC2 and I'm with an application to collect tweets using the twitter streaming api. My current code is programmed in Python using the Tweepy library.

The code executes completely fine in my ubuntu 14.04, however I get a Error 401: Unauthorized when I execute it in the server, which has ubuntu 12.04. Tweepy is installed correctly and my Twitter API Keys are the same and being used in the same way.

What can it be wrong?

Thiago.

Copyright Notice:Content Author:「Thiago」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/25218699/401-error-in-twitter-streaming-api-hosted-in-amazon-ec2

More about “401 error in twitter streaming api hosted in Amazon EC2” related questions

401 error in twitter streaming api hosted in Amazon EC2

I have an set up a server in Amazon EC2 and I'm with an application to collect tweets using the twitter streaming api. My current code is programmed in Python using the Tweepy library. The code ex...

Show Detail

What are the pro and cons of hosting the twitter streaming api on Amazon Elastic Compute Cloud (Amazon EC2)

for a research project of mine I am writing an sentiment analysis tool for analyzing tweets. My Question now is: What are the pro and cons of hosting the twitter streaming api on Amazon Elastic Co...

Show Detail

Twitter Streaming api Oauth - 401 Unauthorized error

I am trying to use Oauth with the Twitter Streaming API but I am getting a 401 Unauthorized error. Authorization header used - OAuth oauth_consumer_key=consumer key, oauth_nonce=nonce, oauth_sign...

Show Detail

Error 401 Streaming Twitter Api with Java

I am using Streaming Twitter API but I get this error: HTTP ERROR: 401 Problem accessing '/1.1/statuses/filter.json'. Reason: Unauthorized I use the following OAuth authentication:

Show Detail

401 error using the Streaming features of Twitter API (through Tweepy)

I've got an application which takes advantage of a number of features of the Twitter API. I've tested the application on one Windows 7 system, and all features worked well. Testing the applicatio...

Show Detail

401 error on the terminal when trying to access the twitter api

My code looks like the following in python and I have been getting this error. #Import the necessary methods from tweepy library from tweepy.streaming import StreamListener from tweepy import

Show Detail

Twitter streaming API - Error 401 Unauthorized

Running a java main program to call twitter streaming api. I have generated a bearer token and passing to the api. But getting the error response Error 401 Unauthorized Is passing the bearer token...

Show Detail

Twitter streaming API in Java with tracks that have spaces?

Two Java libraries to connect to the Twitter streaming API are twitter4j and tweetstream4j. The Twitter streaming API allows "tracks" with spaces: Comma separated keywords and phrases are logic...

Show Detail

Twitter API streaming request returning 401

I am using Twitter for Node.js to make requests to the Twitter API, but I keep getting 401 Error which according to Twitter Docs means that there was an issue authenticating the request. I am usin...

Show Detail

Issue with Twitter streaming API

I'm kind of new to Twitter streaming API. And I'm trying to get this beautiful and minimalist Scala wrapper for streaming API to get work. But unfortunately I end up getting this weird error

Show Detail