I have created an application under the url, https://apps.twitter.com/
and generated the corresponding access tokens. I have consumer key, consumer secret, access token, access token secret.
I have tried accessing the url, https://stream.twitter.com/1.1/statuses/sample.json for getting the live tweet data using the above credentials.
But I am getting unauthorized error like below ,
<h2>HTTP ERROR: 401</h2> <p>Problem accessing '/1.1/statuses/sample.json'. Reason: <pre>Unauthorized</pre>
Please help me in resolving this error.
Thanks in advance…