Not Authorized or Credential do not allow access, why?



Hello there.

I just started to use twitters API and upon being authenticated, getting user profile, etc if I try to get:

' I get --> error: ‘Not authorized’

while if I try: I get --> ‘Your credentials do not allow access to this resource’ code: 220

Can anyone tell me what I am doing wrong? I have tried to do it from client as well as nodejs server (running on localhost currently) but no luck. :confused:


I realized I needed to add either the user_name or userId. it now works just fine. :slightly_smiling: