Retweets_of_me

oauth

#1

I am getting an error message when I try to make a request to ‘https://api.twitter.com/1.1/statuses/retweets_of_me.json

{‘errors’: [{‘message’: ‘Your credentials do not allow access to this resource’, ‘code’: 220}]}

Are there special privileges or access I need to enable the retweets_of_me endpoint?


#2

What kind of authorisation are you using? 3-legged OAuth with user authentication, or app-only authentication? I’ve just tried this with a bearer token only, and that’s the error I see. This endpoint requires user authentication.


#3

I am using the bearer token


#4

That will not work, since you need a user context in order for the API to know whose retweets to display. Try using three-legged OAuth / user authentication.