Horatiu Paraschiv
Horatiu Paraschiv

Reputation: 1780

Any way to upload image to pinterest with iOS SDK, maybe using a fileURL?

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!

Upvotes: 0

Views: 1946

Answers (1)

Tony
Tony

Reputation: 4609

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

Upvotes: 1

Related Questions