Browse files

Corrected the insertUpdate method.

  • Loading branch information...
1 parent fdee58c commit e9b151e73aa953550ed17e935ff1c220a8dd6595 @zhouyaoji zhouyaoji committed Oct 27, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 php5_sdk/updates_set.php
View
4 php5_sdk/updates_set.php
@@ -23,12 +23,12 @@
'imgWidth' => '44'
);
-$response = $oauthapp->insertUpdate(null, $params);
+$response = $oauthapp->insertUpdate($params);
//check update status. If success, update succeeded
if ($response){
echo 'update posted successfully';
} else {
echo 'update post failed';
}
-?>
+?>

0 comments on commit e9b151e

Please sign in to comment.