How to post statuses for users whos allow it for my application


#1

On my website, i want to allow for users, who is authorized with twitter, to post review on their own wall(page) in twitter, with my application.
I can do it for my page like this

    $connection = new Twitter_TwitterOAuth(

                                                $this->config->twitter->consumer_key,
                                                $this->config->twitter->consumer_secret,
                                                $this->config->twitter->token,
                                                $this->config->twitter->token_secret

                                          );

$connection->post(‘statuses/update’, array(‘status’ => $data[‘text’] . $data[‘name’] . “.” . chr(13) . chr(10) . "More details " . $data[‘link’] .’?review=’. $data[‘id’]));

So what i need to do to post the same for another accounts ? i need to set account(where i want to post status with application) ID or i need to set other

                                                $this->config->twitter->token,
                                                $this->config->twitter->token_secret

with token and token_secret that i receive when user login with my application ?

Thanks for help.