I want to post a tweet on behalf of a user who granted my application rights to at random times, like once a week or so, is that possible? currently I can only just tweet to my own account as with the code below:
<?php
require_once 'twitteroauth.php';
require_once('social_functions.php');
//create a new connection to Twitter using the four keys
$connection = new TwitterOAuth(CONSUMER_KEY, CONSUMER_SECRET, ACCESS_TOKEN, ACCESS_TOKEN_SECRET);
//set the parameters for the new status update request
$parameters = array('status'=>'Testing message from website.');
$status = $connection->post('statuses/update', $parameters);
?>