[twitter-dev] Re: How do I get the id of the last status update?

2010-09-22 Thread Polskaya
Thank you Abraham for your swift reply! This is the code I use now: $status = $connection-post('statuses/update', array('status' = 'mmmdedju')); $status-id; echo $status; I get error Catchable fatal error: Object of class stdClass could not be converted to string in

[twitter-dev] Re: How do I get the id of the last status update?

2010-09-22 Thread Polskaya
My fault! I should have done print $status-id; not print $status Thanks again for your help Abraham! On 22 sep, 23:52, Polskaya polsk...@gmail.com wrote: Thank you Abraham for your swift reply! This is the code I use now: $status = $connection-post('statuses/update', array('status' =

Re: [twitter-dev] Re: How do I get the id of the last status update?

2010-09-22 Thread Abraham Williams
$status is an object which contains a parameter of id. So you to echo the id you need to do: echo $status-id; Abraham -- Evobots configured this transmission while traveling at 50 billion times the speed of light. On Sep 22, 2010 2:52 PM, Polskaya polsk...@gmail.com wrote: Thank you Abraham