#!/usr/bin/env ruby require 'net/http' program = ARGV[0] idfile = File.dirname(program) + "/gyazo.app/Contents/Resources/id" id = '' if File.exist?(idfile) then id = File.read(idfile).chomp else id = Time.new.strftime("%Y%m%d%H%M%S") File.open(idfile,"w").print(id+"\n") end tmpfile = "/tmp/image_upload#{$$}.png" imagefile = ARGV[1] if imagefile && File.exist?(imagefile) then system "sips -s format
I'm trying to post images to Twitter using the Oauth module. Here is what I have: It throws a 403 error, I know im doing something wrong with how I add the media to the post but Im just not sure where to go from here. var https = require('https'); var OAuth= require('oauth').OAuth; var keys = require('./twitterkeys'); var twitterer = new OAuth( "https://api.twitter.com/oauth/request_token", "https
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く