Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

20 lines (12 sloc) 0.424 kB
<?php
require("defaults.php");
require("lib/autoloader.php");
Tumblr\API::configure(BASE_HOSTNAME, API_KEY, API_SECRET);
Tumblr\API::authenticate(TOKEN, TOKEN_SECRET);
var_dump(Tumblr\API::getPosts());
$cls = new Tumblr\Post\Audio();
$cls->tags = array("foo","bar");
$cls->date = "today";
$cls->external_url = "http://localhost/foo1.mp3";
var_dump($cls->serialize());
//var_dump(Tumblr\API::submitPost($cls, "off"));
Jump to Line
Something went wrong with that request. Please try again.