Perhaps you are authenticating as an app instead of a user? Some endpoints require that you authenticate as a user. That might be the issue you are facing with your call to the sample stream.
Authentication as an application
Using OAuth
And more importantly, how to get your user auth token. This is relevant if the app you are building only needs to access API endpoints as one user (most likely yourself) and not a collection of users.