Reputation: 153
I wanna get the numbers of tweet of a user_id.
I do this:
$connection->get('users/show', array('user_id ' => $id));
but the response is:
stdClass Object
(
[errors] => Array
(
[0] => stdClass Object
(
[code] => 34
[message] => Sorry, that page does not exist.
)
)
)
Someone can help me?
Upvotes: 0
Views: 41
Reputation: 11
Try
$connection->get('users/show', array('user_id' => $id));
Just remove space in ur key 'user_id'
Upvotes: 1