This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// ------WARNING------ | |
// RUNNING THIS FILE WITH THE APPROPRIATE CREDENTIALS WILL | |
// ERASE ALL YOUR POSTS FROM YOUR TUMBLR BLOG! | |
// Tumblr Blog Info | |
//replace YOUR-TUMBLR-EMAIL with the email you are using to login to Tumblr | |
$tumblrEmail = 'YOUR-TUMBLR-EMAIL'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import oauth2 as oauth | |
import urlparse | |
import urllib | |
consumer_key = '<your-key-here>' | |
consumer_secret = '<your-secret-key-here>' | |
request_token_url = 'http://www.tumblr.com/oauth/request_token' |