$imgur->comment("comment_id")->reply_create($options); //.... /*-----------------------------------------------------------------------------------*/ /* Messages (User must be logged in); /*-----------------------------------------------------------------------------------*/ $imgur->message()->messages(); $imgur->message()->single($id); $imgur->message()->create($options); $imgur->message()->delete($id); $imgur->message()->message_count(); $imgur->message()->get_thread($id); //... /*-----------------------------------------------------------------------------------*/ /* Gallery /*-----------------------------------------------------------------------------------*/ $imgur->gallery()->get($section, $sort, $page); //More on the parameters at Imgur API docs $imgur->gallery()->comments($id, $type); //$type = "image" | "album"; $imgur->gallery()->search($str); $imgur->gallery()->remove($id); $imgur->gallery()->submit($id, $options, $type); $imgur->gallery()->votes($id, $type); $imgur->gallery()->vote($id, $type, $vote); //... /*-----------------------------------------------------------------------------------*/ /* Uploading /*-----------------------------------------------------------------------------------*/ $imgur->upload()->file("/path/to/file", $postfields); //Postfields look in http://api.imgur.com/endpoints/image#image-upload $imgur->upload()->string("base64encodedstring,{$postfields}");