PDA

View Full Version : Post pic to instagram




MACloop
Feb 22, 2012, 03:53 AM
Hello,
I would like to dot this:
- a user can pick an image within my app
- this pic is saved as a NSData object or something like that
- the data is sent to the users own intagram account/timeline or what ever it might be called

Is this possible? Are there any proper tools for this? Framework? I have implemented so far as is the image saved as data when a button is pushed. As I understand, the UIDocumentInteractionController should be used to send the document/pic to instagram...

Is it possible to detect a long tounch on a button... like when the user stays longer on the button than just a click?

Thanks for any advices on this issue!
MACLoop



robbieduncan
Feb 22, 2012, 05:39 AM
The very first result in Google for instagram API

http://instagram.com/developer/

MACloop
Feb 22, 2012, 07:58 AM
The very first result in Google for instagram API

http://instagram.com/developer/

Thanks I have seen that. It didnt cover how to actually save/copy the image within the app in a proper way...

robbieduncan
Feb 22, 2012, 08:11 AM
Thanks I have seen that. It didnt cover how to actually save/copy the image within the app in a proper way...

It's a generic webservices API. It's up to you to interact with it correctly and that includes proving the image in the correct format. Sometimes you have to get your hands dirty instead of just relying on ready-made solutions.

MACloop
Feb 22, 2012, 09:10 AM
It's a generic webservices API. It's up to you to interact with it correctly and that includes proving the image in the correct format. Sometimes you have to get your hands dirty instead of just relying on ready-made solutions.

ok, I just thought if someone might have experiences with it, they could give me some tips. But it doesnt seem like that, so I guess i implement it the way i figure might be the best. thanks anyway