I am using this url to get user tweets https://api.twitter.com/1.1/statuses/user_timeline.json?screen_name=myscreenname&count=2
But it gives an error bad authentication error. How to get user 10 tweets in android
In order to make authorized calls to Twitter’s API v1.1, your application must first obtain an OAuth access token on behalf of a Twitter user. The way you will obtain such tokens will depend on your use case. See [node:3062].
I have OAuth access token. But I don’t know how to pass access token with this url https://api.twitter.com/1.1/statuses/user_timeline.json?screen_name=myscreenname&count=2
i have same problem…i dont know how to pass access token with url