0
votes

I have created the sample OAUTH project with Twitter account. While I am getting data Via rest API "https://api.twitter.com/1.1/statuses/home_timeline.json" its thrown exception like "error: Your credential not allow to access this resource; error code :220"

NOTE: I have get access token using PIN based access token method. I have set the application permission as read and write access.

1

1 Answers

0
votes

Without knowing what other API requests that do work or which type of authentication you are using, one can only guess what your particular issue is. My first question would be are you authenticating as a user or as an application? In other words, are you using OAuth 1 or OAuth 2? The former is required for statuses/home_timeline requests.