isInstalledでInstagramがインストールされているか確認でき、openPhoto()で画像(blob)とキャプション(string)を渡してInstagramの投稿画面を開きます。 コードはこんな感じ。 var instagramUtil = require('jp.msmc.tiinstagramutil'); var window = Ti.UI.createWindow({}); var caption = Ti.UI.createTextField({ top:50, width:240, height:40, hintText:'Enter caption here', borderStyle:Ti.UI.INPUT_BORDERSTYLE_ROUNDED, }); window.add(caption); var button = Ti.UI.createBut
![マシュマロにダイブ: Instagramへ画像をポストするモジュールを作ったよー](https://cdn-ak-scissors.b.st-hatena.com/image/square/f156c751600661a0cbe0c501847b6e771be0eb04/height=288;version=1;width=512/http%3A%2F%2F1.bp.blogspot.com%2F-ytZFc2uzhtM%2FUK2lTwqgxPI%2FAAAAAAAAAxg%2FxXPUIn2LmCY%2Fw1200-h630-p-k-no-nu%2F%2525E3%252582%2525B9%2525E3%252582%2525AF%2525E3%252583%2525AA%2525E3%252583%2525BC%2525E3%252583%2525B3%2525E3%252582%2525B7%2525E3%252583%2525A7%2525E3%252583%252583%2525E3%252583%252588%2B2012-11-22%2B13.08.40.png)