tumblr

How do I get the access_token from tumblr's official php client?

不羁岁月 提交于 2019-12-07 22:58:23
问题 I've followed the directions posted in this stackoverflow question, but I am stuck. I am using tumblr/tumblr.php from Github (the official "PHP client for the tumblr API"). I am also following directions here (which are actually for twitter), but those directions aren't tailored for the git library I am using. I have a valid consumer key and secret. From those I make a request and get oauth_token and oauth_token_secret like so: $client = new Tumblr\API\Client($consumerKey,$consumerSecret);

Post picture to Tumblr using Python

久未见 提交于 2019-12-07 15:37:44
问题 I'm trying to post a picture to tumblr, using python, in particular: http://code.google.com/p/python-tumblr/ #!/usr/bin/python from tumblr import Api import sys BLOG='example.tumblr.com' USER='example@example.com' PASSWORD='example' api = Api(BLOG,USER,PASSWORD) post_data = "picture.png" title = "Title of my entry" body = "this is a story with a picture" api.write_regular(title, body + post_data) When I run this the result is that the blog arrives, but instead of: Title of my entry this is a

Jquery Ajax - Tumblr API v2

一个人想着一个人 提交于 2019-12-07 15:00:46
问题 I'm trying to delve into the depths of the murky world of Tumblr, and can't understand how to get over the following error: Uncaught SyntaxError: Unexpected token : I believe it may be because I'm getting back json, but trying to use jsonp. Here's what I'm trying to send: $(function(){ $.ajax({ type: "GET", url : "http://api.tumblr.com/v2/blog/MyTumblrName.tumblr.com/info", dataType: "jsonp", data: { api_key : "MyTumblrApi" }, success: function(data){ console.log(data); }, }); }); I get a 200

Loss of data when extracting frames from GIF to PNG?

可紊 提交于 2019-12-07 12:54:37
问题 When I try to use fraxel's answer on http://stackoverflow.com/questions/10269099/pil-convert-gif-frames-to-jpg on the image http://24.media.tumblr.com/fffcc2d8e980fbba4f87d51ed4916b87/tumblr_mh8uaqMo2I1rkp3avo2_250.gif I get ok data for some, but then for some I get missing data it looks like, e.g. Correct Missing To display these I use imagemagick's display foo* and then use space to move through the images ... is it possible imagemagick is reading them wrong? Edit: Even when using convert

Custom Tumblr theme wont save because of non-https urls?

给你一囗甜甜゛ 提交于 2019-12-07 06:58:18
问题 So yesterday i was happily editing the theme of my tumblr blog and everything was working fine. Go into same blog to day and it brings up thsi when i click save: "Un oh! We could't save your theme. Looks like your custom theme references assets from non-HTTPS Urls. Please try again using only HTTPS Urls." Super confusing because not urls have been add since yesterday and everything was fine then. Same thing is happening with my other blogs with custom themes. I even went through and deleted

Posting an image to the Tumblr API

纵饮孤独 提交于 2019-12-06 15:41:41
问题 So I'm writing a small java app to dump a directory of images into the user's tumblr blog, using their provided API: http://www.tumblr.com/docs/en/api I've gotten plaintext posting to work, but now I need to find out how to send an image file in the POST instead. My code at the moment is returning a 403 forbidden error and everything else I try gives me a bad request error. I'd rather not have to use external libraries for this if I can. This is my ImagePost class: import java.io.*; import

How to use high resolution photos in text posts in Tumblr?

喜欢而已 提交于 2019-12-06 14:16:10
I'm trying to use high resolution in Tumblr Text posts. When I upload a photo into a Text post, Tumblr resizes it to 500px Image Displayed: <img src="http://41.media.tumblr.com/d8ceea903cb5cd667e416877bf4a8a70/tumblr_inline_nxihvl2VdX1r5y5rv_500.jpg" alt="image" data-orig-width="2640" data-orig-height="3960" width="500" height="750"> If I change 500 to the data-orig-width value doesn't give me the original image, but I just want a 1280 image. If I change 500 to 1280, it gives me a 1280 image 500px: http://41.media.tumblr.com/d8ceea903cb5cd667e416877bf4a8a70/tumblr_inline_nxihvl2VdX1r5y5rv_500

Infinite scroll breaks flash

风格不统一 提交于 2019-12-06 14:04:01
问题 I am nearly finished creating the tumbler theme below. The theme uses the infinite scroll plugin and this works fine for posts that don't contain flash (photo, text, ...). Video and audio posts use flash and when the infinite scroll kicks in loading more posts it doesn't load in the flash posts. I can't under stand why, can anyone please help as a deadline is looming? http://penguinenglishlibrary.tumblr.com/ 回答1: Turns out I needed to loop through the posts and call the tumblr api to get the

Share a link on Tumblr from iOS app

旧巷老猫 提交于 2019-12-06 13:42:40
I've been googling around to find a way to share a link in tumbler... I just found sharekit to do this, and I really don't like it... What other options do you think I have for this? I can't believe there are no libraries to achieve this in a relatively easy way... Any idea? Thanks! Just found this! TMTumblrSDK It works fine! To make a text post you just have to: NSDictionary *parameters = [[NSDictionary alloc] initWithObjectsAndKeys: @"Titulo",@"title", @"Este es el body",@"body",nil]; [[TMAPIClient sharedInstance] post:@"blogName" type:@"text" parameters:parameters callback:^(id var, NSError

Tumblr ignores open graph tags

久未见 提交于 2019-12-06 12:39:04
问题 I have some social sharing buttons on a site. I've been able to use the open graph tags to specify exactly what I want shared. They work with every major social network except Tumblr. Does anyone know why or what I should be doing instead? Thanks! 回答1: Even though this is an older post, I came across it and figured I'd post a reply for future folks. I hope the OP found a more timely answer. It depends how your open graph tags set up - on your index page? Or on your permalink pages? Facebook