Dropbox php-apiを学習しようとしています。 (存在しない場合)私は php-apiを使用してdropbox accoutにフォルダを作成する方法(存在しない場合)
Dropboxアカウントでコードスニペットのアップロードを行って、新しいフォルダを作成することができませんでしいます
// Create new directory
$create_new_folder = $dropbox->createFolder('new_folder','dropbox');
// Create a temporary file and write some data to it
$tmp = tempnam('/tmp', 'dropbox');
$data = 'This file was uploaded using the Dropbox API!';
file_put_contents($tmp, $data);
// Upload the file with an alternative filename
$put = $dropbox->putFile($tmp, 'abc.txt');
// Unlink the temporary file
unlink($tmp);
// Dump the output
var_dump($put);
エラー:未定義のメソッドのDropboxへの
コール\ API :: createFolder()C:\ wamp \ www \ BenTheDesigner-Dropbox-b49576c \ examples \ putFile.php 18行目
「BenTheDesigner-のDropboxのPHP APIを使用しています。 https://github.com/BenTheDesigner/Dropbox/downloadsにリンクしてください。私のアプリのアクセスタイプ 'フルドロップボックス'。 – Frank