dongruyan4948 2012-12-25 19:48
浏览 29

将图像(包含说明)上传到Tumblr

so I want to have a .php script that uploads an image every 3 hours to my Tumblr (via a cronjob). I used to have a working script, however since Tumblr no longer supports their v1 API I am lost. I have found no good guides on Google (http://vigrond.com/blog/2012/02/04/oauth-extension-php-and-the-tumblr-api/ doesn't do it for me since I can't install the OAuth extension) and the official Tumblr Documentation doesn't even exist.

I would be very glad if you can help me out and point me to a solution :)

I've found this would be a good start: https://gist.github.com/1649885 but I cannot seem to get the access_token / access_secret.

  • 写回答

1条回答 默认 最新

  • dthp96899 2015-09-22 12:49
    关注

    I've done a simple script that posts a random image, taken from a random category, each category has its own tags and captions file, so for every image posted, you can have several captions.

    the script is using the tumblr api v2.

    matteobononi.it tumblr random image post script

    评论

报告相同问题?

悬赏问题

  • ¥100 set_link_state
  • ¥15 虚幻5 UE美术毛发渲染
  • ¥15 CVRP 图论 物流运输优化
  • ¥15 Tableau online 嵌入ppt失败
  • ¥100 支付宝网页转账系统不识别账号
  • ¥15 基于单片机的靶位控制系统
  • ¥15 真我手机蓝牙传输进度消息被关闭了,怎么打开?(关键词-消息通知)
  • ¥15 装 pytorch 的时候出了好多问题,遇到这种情况怎么处理?
  • ¥20 IOS游览器某宝手机网页版自动立即购买JavaScript脚本
  • ¥15 手机接入宽带网线,如何释放宽带全部速度