Data Collection with R using package streamR - Error 401 only with userstream


Hi I try to collect data from twitter with R. I use the package streamR which provieds three functions: filterstream, userstream and samplestream.

Filterstream and samplestream are working fine and Tweets are collected, but if I want to use userstream the Connection cloeses after one second and no tweets are collected. There is a “http Error 401 Unauthorized”

I gave the app all necessary permissions and can’t figure out, why userstream is not working and the others do.

Any suggestions why I cann’t get authorization to the userstream API from Twitter?