tumblr

Tumblr API V2 Error code 429: “Rate Limit Exceeded” You are being rate limited, slow down. Header info?

狂风中的少年 提交于 2019-12-22 11:37:22
问题 I tested Tumblr API with PHP, then I try to follow with friends using API and worked successfully, then later I get this error: Error 429 "Rate Limit Exceeded" I heard I need to wait 1 hour and limits will gone. Also I see a few information about headers: x_ratelimit_api_followers_limit x_ratelimit_api_followers_remaining x_ratelimit_api_followers_reset This informations can be in header. What header? Oauth? I don't found that. How can I see this variables? How can I get more information

Float: center doesn't work?

坚强是说给别人听的谎言 提交于 2019-12-22 10:48:53
问题 I'm doing my first Tumblr theme using a tutorial, I'm a total newbie at this. .metadata a { display: inline-block; float: center; margin-left: 2%; } I want the posts to be centered, but the only things that work are float: left and float: right What should I do ? Please explain clearly because as I said, I'm a total newbie, and I'm not a native English speaker. 回答1: You can only float left or right, so float is not an option here. Add text-align: center to the parent element of the a-tag.

Facebook Open Graph Protocol on Tumblr

本小妞迷上赌 提交于 2019-12-22 10:45:28
问题 When a link from my Tumblr blog is posted on Facebook, Facebook grabs the title between the title tags and not the one specified in the Open Graph meta tags. Why is it doing this? Is there any way to fix it? 回答1: Without seeing the code, I'm not sure what you're problem is exactly, but for anyone else searching for this looking for how to set up Open Graph on their blog, try doing something like this: <!-- FACEBOOK OPEN GRAPH --> <!-- >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>--> <meta

Customizing Tumblr's Mobile Theme

扶醉桌前 提交于 2019-12-22 06:56:35
问题 I was hoping to make my Tumblr blog more mobile friendly and I would like to use a mobile theme alongside my desktop theme. I see that I can use the default mobile theme for mobile devices, but is there a way for me to customize the mobile theme, but still keep my regular theme for desktops? 回答1: Just answering for people who find this while searching. I do not want them to be mislead by the comments on the question. Not happy about it. Until now, it is possible to have separate theme for

Chrome extension: Could not load javascript file

微笑、不失礼 提交于 2019-12-22 05:39:36
问题 I have posted another question regarding my Chrome extension here. But I have one more question about extensions themselves. I only need a content script for the modification of the Tumblr-Dashboard, no background page or something else, right? Here is the manifest.json file: { "name": "Tumblr - Tiled Dashboard", "version": "0.0.54", "manifest_version": 2, "description": "This extension modifies the look of your Tumblr dashboard.", "icons": { "16": "images/icon_16.png", "48": "images/icon_48

Tumblr — getting the 8 digit reblog code on home page (nearly there…)

强颜欢笑 提交于 2019-12-22 00:40:39
问题 I've seen two sites in the wild which manage to get Like and Reblog buttons on their homepages via hacks. This seems to be the best one to reference: http://cicerontheme.tumblr.com/ Somehow, they manage to get the reblog URL, how, i have no idea. I've been rummaging through their code and all I find is this for the like button: $('a.likeLink').click(function() { var post = $(this).closest('.post'); var id = post.attr('id'); var oath = post.attr('rel').slice(-8); var like = 'http://www.tumblr

Android Tumblr Oauth-signpost 401

青春壹個敷衍的年華 提交于 2019-12-21 05:06:09
问题 Okay, so, I am making a Tumblr client for Android, I've been trying and failing to get OAuth working for about a week now. Here's how its going: User fires up the app. Main activity's onCreate does this: settings = getSharedPreferences(PREFS_NAME, 0); authToken=settings.getString("OauthToken", "none"); authTokenSecret=settings.getString("OauthSecret", "none"); if(authToken=="none" || authTokenSecret=="none"){ Intent i = new Intent(getApplicationContext(),Authentication.class); startActivity(i

jQuery - parsing JSON data - Having trouble with variable name

混江龙づ霸主 提交于 2019-12-21 01:40:11
问题 My first delve into working with JSON data. I have a bit of experience using jQuery though. I'm posting to this URL (tumblr api): jyoseph.com/api/read/json What I'm trying to do is output the json that gets returned. What I have so far: $(document).ready(function(){ $.getJSON("http://jyoseph.com/api/read/json?callback=?", function(data) { //console.log(data); console.log(data.posts); $.each(data.posts, function(i,posts){ var id = this.id; var type = this.type; var date = this.date; var url =

Pull the first image from a Tumblr photoset?

萝らか妹 提交于 2019-12-20 17:26:18
问题 I'm designing a theme for a wedding photographer who wants to use Tumblr's Photoset functionality to create a portfolio site. How do I pull the first image from a photoset so I can create a home page with a single thumbnail preview (sized to my choosing) that links to each set? Thanks, Parri 回答1: Tumblr markup: {block:Photoset} <div class="photoset-wrap"> {block:Photos} <img src="{PhotoURL-500}" /> {/block:Photos} </div> {/block:Photoset} Note: may be you need {PhotoURL-75sq} to output square

How to access Tumblr API Photo Data Feed (i.e. all photos, entire archive)?

大城市里の小女人 提交于 2019-12-20 05:45:56
问题 I am currently developing a project in PHP that connects to Tumblr photo blogs via Tumblr API with my api-key to access posted photos in specified Tumblr photo blog. I used the Tumblr API documentation to get started and have cross-referenced many web sites (including this one) and books, and have managed to "hack"/piece together a program that retrieves the Tumblr photos from specified blog. I have successfully connected and retrieved photos by parsing the array with multiple foreach & if