src
into your shaarli instance (at its root with index.php)tumblr.ini.dev
to tumblr.ini
tumblr.ini
's variablestumblr = xxx.tumblr.com # your tumblr URL (can be another domain if you paid for it)
api_key = xxx # your tumblr's API key (see below)
private = true # if links should be private or public
shaarli_dir = # leave blank if you followed this tutorial, else, the path to shaarli
import.php
You need to register an app in tumblr :
Register an application
website
(even if it's not marked as mandatory, trust me, it is)Tumblr's API can only retrieve 20 × 250 posts (I did the math, it's 5000)
This script does not resume import, so if you got more than 5k posts, it won't work.