chirrpy asked:
Can we post meetups using the API?
No, currently there is no Meetup API for Tumblr. One currently isn’t planned, but feel free to make any suggestions you think the API needs!
Last week, two of our engineers, Wolf and JC, got to stay up all night eating pizza with some really talented young hackers at two different hackathons — 2013 hackNY Student Hackathon at Columbia University and Photo Hack Day at Facebook HQ.
After a long day of hacking, pizza, sleep deprivation, more pizza, and some DIY tacos, participants demoed their hacks, including a few for the Tumblr API. We were absolutely blown away by the creativity and quality of the projects and look forward to seeing what you’ll build at the next hackathon!
Over the past few weeks we’ve open-sourced quite a few official client libraries for the Tumblr API. Today I’m proud to announce the Tumblr iOS SDK, an Objective-C library for easily integrating Tumblr data into your iOS (or OS X) applications, however you see it.
The Tumblr SDK for iOS contains a few different components to start:
- Authentication (OAuth and xAuth implementations)
- A full wrapper around all of our API endpoints
- Inter-app communication (this is pretty limited at the moment but we plan to expand it quite a bit going forward)
- A UIActivity stub for easy inclusion of a Tumblr button in a standard Apple UIActivityViewController
We’ve been using this SDK in production for quite some time now and are thrilled to finally be able to share it with you.
If you’re interested in integrating with Tumblr on iOS or OS X in a way that the SDK doesn’t currently facilitate, please get in touch. I’m very interested in hearing any and all feedback on how we can make this as easy as possible.
tumblr.php
I’m here to announce another new addition to our list of official API clients. This week we have
tumblr.php- it’s available on GitHub and composer via packagist. It is tested, is PSR-2 compatible, and is well documented.Like the other clients we’ve been announcing (most recently JS and Java) it has full support for all of the Tumblr v2 API endpoints.
Time to make something cool!
tumblr Java client: jumblr
Last week we announced our first official API client, for JavaScript (read: the announcement). This week we’re back to announce the release of an official Java client, Jumblr:
Blog blog = client.blogInfo("seejohnrun.tumblr.com"); for (Post post : blog.posts()) { post.like(); // you're too kind.. }Like its JavaScript counterpart, Jumblr comes with full support for all of the API V2 endpoints. Check out more detail on the github page!
If you’re interested in following along with any of our open-source work, check out our GitHub page.
(via engineering)
tumblr.js JavaScript client
Today I’m excited to announce the release of tumblr.js, the first of several official API clients we’ll be rolling out over the next few months.
You can install it now with
npm, and start making something awesome:var tumblr = require('tumblr.js'); var client = tumblr.createClient({ consumer_key: 'consumer_key', consumer_secret: 'consumer_secret', token: 'oauth_token', token_secret: 'oauth_token_secret' }); // Name all of the authenticating user's blogs client.userInfo(function (err, data) { data.user.blogs.forEach(function (blog) { console.log(blog.name); }); });It comes with full support for all of the API V2 endpoints including tag search, following, liking, and post creation. For more detail, see the GitHub page.
More to come soon!
(via engineering)
0xa:
We have Engineering Summer Internships @ Tumblr! We’re looking for aspiring software engineers with a passion for open source software to join us for a summer of programming and fun. You will be integrated into a small engineering team working on a real-world project as part of
- Product Engineering: Using PHP and JavaScript, create new and improve site features that keep our growing millions of users doing amazing things with their tumblelogs.
- Search Engineering: Research, expand and refine Tumblr’s search infrastructure and search features.
- Platform Engineering: Write highly optimized distributed services that manage data and requests in real time, helping our site scale to billions of posts.
- Infrastructure Engineering: Work hands on with the Network team configuring, deploying and maintaining JunOS network devices.
- Mobile Engineering: Come work on the application that’s putting Tumblr in millions of users’ pockets. A passion for IOS and Android is needed.
Polish your code samples, then send us your resume via our Engineering Summer Internship job page.
(We’re also hiring full time Engineers at every level of our technical stack. Learn more on Tumblr’s Jobs page).
chirrpy asked:
Can we post meetups using the API?
No, currently there is no Meetup API for Tumblr. One currently isn’t planned, but feel free to make any suggestions you think the API needs!
This week, we are excited to bring a new feature to the API: the ability to consume a user’s likes if they have been made public in their Settings.
Here’s an example request:
http://api.tumblr.com/v2/blog/codingjester.tumblr.com/likes?api_key=your_key
You’ll receive a payload of Post objects that have been liked by that user. If you attempt to access a blog that has not shared their likes, you will get our standard 401.
This could become a guessing game on which blog have support the access of their likes. To prevent this, we’ve added a new field: share_likes to the blog object, accessible from the /info and the /user/info routes.
Lets look at an example payload from the /info route.
Please check out the latest documentation for any further details. As always, our Ask box is always open for feedback and questions!
Tumblr will be performing maintenance Saturday, October 6th 2012, meaning the API will not be returning expected values (please see official notice here). We wanted to make sure that developers understand what the API will be returning during this time.
The API will be returning a 503 status code (Service Unavailable) with an accompanied JSON payload. An example can be found below:
{ "meta" : { "status" : 503, "msg" : "Service Unavailable"}, "response" : "Tumblr is currently performing scheduled maintenance but will be back shortly! Sorry for any inconvenience." }
Please do not try to string match against that response, as it may change any time between now and the actual maintenance.
As always, Our Ask box is always open for any questions or concerns you might have.