Rest API 1.1 request users/show return errorcode 34


#1

Hi,
I’m using “Abraham Williams” OAuth library for php

I’m wanted to use the “users/show” request to have information about a user
I have tried with both parameter user_id and screen_name
but I have this result :
(
[errors] => Array
(
[0] => stdClass Object
(
[message] => Sorry, that page does not exist
[code] => 34
)

    )

)

I tried with the twitter Oauth tool and give the url to my browser and it does’nt work to.

Also, I use “statuses/user_timeline” request and it works perfectly.

Any idea ??

Thanks !


#2

I have tested with Oauth tools and curl,
and it works…
It may be problem with parameters ?


#3

Make sure that the request being issued goes to https://api.twitter.com/1.1/users/show.json?user_id=XYZ (or with a screen_name parameter) – it’s possible with that library to inadvertantly make requests without the API version in the path.