When using the Tumblr API, how exactly do I get the 'access_token' and 'access_secret' keys I need to post through my account via a script.
Howdy. I'm trying to set up a PHP script that will let me take content I've queued up and post it at regular intervals. Problem is I don't really know what I'm doing. Here's where I am at:
I have registered an app with Tumblr and saved my consumer_key and consumer_secret
I have found the following php function
that seems to be what I'm looking for.
To use that function I need to have my 'access_token' and 'access_secret' keys. My understanding is that these keys are generated when you are logged in to tumblr and then give permission to an app to access your account. But I don't understand how to do that exactly. Basically I have a flat php script that runs off cron job and assumes you have that info already. How do I write a simple tool for my app that lets me jump through the hoop of explicitly giving my app permission and saving the resulting tokens?
I see people mentioning the "3-legged oauth authentication" routine, which I strongly suspect is what I'm looking for, but I can't seem to find an explanation on how exactly to do through that simple enough that I can grok it.
Anyone care to explain it in a way that could be understood by someone who's a moderately PHP literate adult, but doesn't understand much of anything else.