Reply multiple tweets

api

#1

i wan`t to reply multiple user account (tweets) at the same time , but the application reply only one tweet

		require_once('twitteroauth/OAuth.php');
		require_once('twitteroauth/twitteroauth.php');
		
	$consumer_key = "8j7xxxxxxxxxxxxxxA13k";
	$consumer_secret = "f6UgaxxxxxxxxxxxxxxLjqAPKJC";
	$access_token = "758xxxxxxxxxxxxxx833o";
	$access_token_secret = "XFaxxxxxxxxxxxxxxGJqD";

		$connection = new TwitterOAuth($consumer_key,$consumer_secret,$access_token,$access_token_secret);

$statuses = $connection->get(‘statuses/home_timeline’, array( ‘count’ => 10 , ‘exclude_replies’ => true));
foreach($statuses as $status) { // records the id of the tweet just sent
$status_id = $status->id_str; // SHOULD return the id of the last tweet
$responce = $connection->post(‘statuses/update’, array(‘in_reply_to_status_id’=> $status_id, ‘status’ => “@”.$memberUsername." ".$message));


#2

Duplicate of Reply Tweet