0

Hi I'm trying to find a way to post/upload a locally generated image to pinterest with iOS SDK.

I'm doing the pinterest integration with UIWebView given that there is no public API and tried to use for the image url a fileURLWithPath: with no success obviously.

Does anyone have any idea if this can be accomplished?

The pinterest app obviously allows you to upload/pin an image from the camera roll.

Is there any way to embed that kind of functionality in my app?

Thank you!

Horatiu Paraschiv
  • 1,750
  • 2
  • 15
  • 37

1 Answers1

1

You will need to post using a multipart/form data type of request. Here is an example of how to do it. https://forrst.com/posts/Mutlipart_Form_Data_and_image_sending-Vw3

Tony
  • 4,609
  • 2
  • 22
  • 32