Could not authenticate with OAuth (The matt haris Library)


I am planning to create new website to upload profile banner to twitter and my script is working fine.But when i created new app and tested with it,unfortunately an error comes like this " {“request”:"/1/account/update_profile_banner.json",“error”:“Could not authenticate with OAuth.”} " .

I think some thing missing in authentication.
Can anyone help me ?

<?php if ( ! empty($_FILES)) { require '../tmhOAuth.php'; require '../tmhUtilities.php'; $tmhOAuth = new tmhOAuth(array( 'consumer_key' => 'removed', 'consumer_secret' => 'removed', 'user_token' => 'removed, 'user_secret' => 'removed', )); ##Codes ?>