Hello,
Thank you for approving my request to join this discussion group! I am amy. I am new to both tumblr and to web programming, but I have a bit of experience with desktop programming in a variety of languages. I will do my best to follow forum etiquette, but please let me know if I make a mistake somehow and I will correct it PDQ!
I have a few questions. For cleanliness, I will ask them in separate threads, and for politeness, I will wait a bit between questions. My first question is as follows (and I have already searched the forum!):
I would like to partially control a couple of my blogs from an external program or script. Specifically, I would like to be able to write a C program which posts to my blogs via the tumblr API (either version, as I take it that there are two). I could do this easily with OAuth as explained in the tumblr API docs, but I really do not want to have to register my apps with tumblr -- since the only blog that will be posted to is my own, I would love it if I could just hard-code my e-mail and password into my program! From browsing the forum, it looks like it is possible to authenticate with an e-mail/password pair by using something called xAuth, which I had never heard of. Google points me to the X.org manual page, but I doubt that is the same xAuth as described here. Does the xAuth method still require that I register my app? If so, is there anything that can be done about this? If not, could someone please point me to some documentation for the xAuth used by the tumblr API?
If the xAuth method also requires that I register my app with tumblr, does anyone know if it would be possible to use cURL to emulate a browser login? Specifically, will I start getting capchas if tumblr decides that it is suspicious that I am logging in from a certain UA at the same times of day, 24 hours per day, or simultaneously with another active login?
Thank you for taking the time to read my question, and have a lovely day!
amy ♡
P.S. For anyone curious, this is what I am trying to achieve:
1. For my image-based blogs (right now, that would be my anime blog and my cat blog), I will create directories with like-named pairs of: a) image file and b) metadata file with source and some tags. Then, once per hour (or however long seems appropriate), my program will randomly select a pair from the directory and create an image post with image, source, and tags. Any other actions on these blogs I will perform manually from my phone.
2. For my main blogs, I will similarly create directories with text snippets. The snippets will contain blessings and nice PSAs, such as "Just a reminder to those reading this: You are a lovely person!" and "If you are considering self-harm or suicide tonight, please do not go through with it! Here is a list of suicide-prevention hotlines you may call: ...", etc. Then, a couple of times per day (or however long seems appropriate), my program will randomly select a snippet from the directory and create a textual post with the snippet, and a tag to let people know that I might not be online (maybe something like #autopost). Any other actions on these blogs I will perform manually from my phone.