Open jamztang opened 12 years ago
php header() i was able to get the media param accepted but not the url
pinit12://pinterest.com/pin/create/button/?media=urlencode([imgUrl]));
So the problem looks like to be need to figure out how they encrypt and decrypt the media param
I got it working and don't think i actually changed anything
test pin below ( the url doesn't actually match the image source, so don't get mixed up there)
pinit12://pinterest.com/pin/create/button/?url=http%3A%2F%2Fcoralcharlotte.com%2F&media=http%3A%2F%2Fpinstrip.es%2Fuploads%2F14fb18b9b0afaa%2F14fb18b9b0afaa.png
Before I implement though, I need to work through a reasonable solution for figuring out how to test and use the url when appropriate for users via the browser. I'm probably just going to have to ask them.
As for your problem, this guy seems to have had some luck with iOS, assuming it works http://jasonlarsen.me/post/19671749235/reverse-engineering-pinterest-app - his sample is using a web-based image, as I do, so you may not have the same luck accessing the image library. Not being an IOS guy i don't know if you can pass an image url that way or now.
On May 14, 2012, at 8:25 PM, James Tang wrote:
So the problem looks like to be need to figure out how they encrypt and decrypt the media param
Reply to this email directly or view it on GitHub: https://github.com/mystcolor/JTPinIt/issues/1#issuecomment-5705713
Yeah, does work with remote images, but not with local images which I picked from library.
Hello everyone, i downloaded the project but not able to post an image on my pinterest account. please help me to solve this problem ASAP if possible.
The Pinterest app has been successfully triggered and directed to the info input page, but it returns "Couldn't add a pin" after posting the data.
The base url scheme
And looks like to require a few GET parameters
media=[direct_link/base64imagestring]
url=[url]
alt=[alt]
title=[title]
is_video=false
trying to mimic the schema in the project without been able to have a successful pin