Sample code using the instagram AS3 API