pinterest

CSS3 Multiple Columns

元气小坏坏 提交于 2019-12-11 23:26:44
问题 I'm using CSS to create multiple columns, to give a similar kind of look to the Pinterest interface (e.g. columns of boxes, but neatly stacking underneath one another). Here's the code I'm using: #feed-post-home .feed { -moz-column-count:3; /* Firefox */ -webkit-column-count:3; /* Safari and Chrome */ column-count:3; } #feed-post-home .feed > section { margin-bottom: 10px; } #feed-post-home .feed > section > .content { background: #d4d4d4; padding: 10px; } As you can see in the image below,

Pinterest SDK how to get a PDKPin's link?

杀马特。学长 韩版系。学妹 提交于 2019-12-11 20:16:48
问题 It seems that there is a dictionary value I can place in the GET call that corresponds to a property on PDKPin that I can call in my success block to unpack the value, i.e. "url" = PDKPin.url "note" = PDKPin.decriptionText, however I can't find a corresponding property for "link" which is available per the documentation https://developers.pinterest.com/docs/api/pins/? PDKClient.sharedInstance().getAuthenticatedUserPinsWithFields(Set(["url", "note", "link"]), success: { (responseObject

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

 ̄綄美尐妖づ 提交于 2019-12-11 18:44:30
问题 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! 回答1: You will need to

Pinterest integration in ios app?

跟風遠走 提交于 2019-12-11 10:15:34
问题 I am trying to post image from my app on pinterest.From last five days i am looking for perfect solution finally after posting some question on SO now i am inch away to solve my problem.the issue is when i post any image using url its successfuly post my image on pinterest as my below code show. -(NSString*) generatePinterestHTML { NSString *description = @"Post your description here"; NSString *sUrl = [NSString stringWithFormat:@"http://4.bp.blogspot.com/-w4oTZjlpgwo/T5_pi-KJPuI/AAAAAAAAAoM

Sharing buttons in Magnific Popup

一曲冷凌霜 提交于 2019-12-11 04:15:59
问题 I'm hoping to add sharing buttons (Pinterest to start) to each image within a gallery without having to go in and manually include URLs etc. for each individual image/entry. There is plenty of instruction to be had when it comes to including this functionality for other lightboxes--most notably in conjunction with a specific CMS; and I have been reviewing those instructions, as well as w3 resources and other stackoverflow.com entries--with the hope that I could put something together. I'd

Getting all pins of a specific user Pinterest

泄露秘密 提交于 2019-12-11 03:35:11
问题 Hey i'm trying to get all pins for a specific user from pinterest API in android app but as i see for now there is no public Api after searching i found this Post which contain an end point for fetching all pins of specific user http://widgets.pinterest.com/v3/pidgets/users/eecolor/pins/ and this works perfectly but it doesn't contain the pin creating date. Also i have checked the official website which contain a sample response for pins list and the data contain creation date so how i can do

How to get access token for access Pinterest Api

北城余情 提交于 2019-12-11 01:39:38
问题 I have Googled and searched on stackoverflow but could not find the answer. I am writing an app, and this needs access to the Pinterest API. This is my github repo: https://github.com/kellan/pinterest.api.php $p = new Pinterest_API(); $p->fetch_access_token($client_id, $client_secret, $username, $password); $resp = $p->some_api_call($args); But i dont know where to find $client_id and $client_secret? 回答1: As far as I'm aware, the Pinterest API has been taken down. I even got a take-down

Pinterest denying access from Google App Engine (403)

余生颓废 提交于 2019-12-10 18:45:36
问题 Using an oauth accessToken, I am able to retrieve the user's info through: https://api.pinterest.com/v1/me/?fields=first_name%2Cid%2Clast_name%2Curl%2Cusername%2Cimage&access_token=xxxx which from a desktop or even ec2 returns: { "data": { "username": "yyyt", "first_name": "yyyr", "last_name": "", "url": "https:\/\/www.pinterest.com\/yyyt\/", "image": { "60x60": { "url": "https:\/\/s-passets-cache-ak0.pinimg.com\/images\/user\/default_60.png", "width": 60, "height": 60 } }, "id": "1234567890"

Pinterest-iOS 2.3 and Swift: calling createPinWithImageURL results in EXC_BAD_ACCESS

喜夏-厌秋 提交于 2019-12-10 10:23:23
问题 Using the Pinterest-IOS SDK (2.3) I'm getting a EXC_BAD_ACCESS error when creating an instance of the SDK via the Swift Bridge and then calling createPinWithImageURL. When converting the same code back to objective-c and then calling a wrapper method from Swift it works as expected. The root cause seems to be passing the appID and suffix strings from Swift to Objective-C. This code fails: self.pinterest = Pinterest(clientId:"your_app_id", urlSchemeSuffix:"prod")! if(pinterest.canPinWithSDK())

Auth Exception in Pinterest API

南笙酒味 提交于 2019-12-09 14:00:29
问题 I am getting { "status": "failure", "code": 3, "host": "coreapp-devplatform-devapi-173", "generated_at": "Tue, 29 Sep 2015 05:42:42 +0000", "message": "Authorization failed.", "data": null } exception while invoking https://api.pinterest.com/v1/oauth/token?code= &client_id=&grant_type=authorization_code. Can anyone help me to resolve this? Code: if (request.getParameter("code") != null) { code = request.getParameter("code"); } String authorizeUrl = "https://api.pinterest.com/v1/oauth/token";