pinterest

Anybody have any idea how the divs are emitted in pinterest.com?

≡放荡痞女 提交于 2019-12-24 03:24:11
问题 I tried rendering my div images like this horizontally (left-to-right, top-to-bottom). But it's not quite right. Wondering if it's just vertically done where each column is rendered (top-to-bottom, right-to-left). Anybody have any idea how to mimic/replicate this page? * Update * In response to the answer below, i did a quick search for "masonry vs isotope". The following post explains this question very well, for all those interested. 回答1: Each item is placed dynamically with JavaScript. Try

Facebook login like Pinterest style

拈花ヽ惹草 提交于 2019-12-23 05:27:37
问题 I want to integrate Pinterest style Facebook login to my website. Is there a way to do this? pinterest facebook login style 回答1: I have a solution, but it's certainly not optimal. I found that Pinterest uses this endpoint to generate it's nice button: facebook.com/v2.7/plugins/login_button.php ; however, the generated output seems to be tied into the Pinterest Facebook application ID only (I tried inputting my ID but only received a standard login button as per Facebook documentation here).

What is the Pinterest's popular pins algorithm?

£可爱£侵袭症+ 提交于 2019-12-22 12:37:35
问题 How they are counting whether a pin is popular or not? I had something like this in mind: {reposts}*150+{comments}*100+{likes}*50-{time}/150 回答1: They probably won't tell anyone outside... But from my experience, popularity algorithms start off like the one you suggested, but tend to be refined and get more complex over time. Every similar algorithm I have been developing so far kept evoluting for months even after go live. As people try to trick the algorithm into making their own stuff more

message sent to deallocated instance using Pinterest SDK

China☆狼群 提交于 2019-12-21 17:55:58
问题 I'm using the Pinterest iOS SDK to share an item in my iPad app. The following snippet of code will always crash with a message sent to deallocated instance on the line with the comment: NSString *clientId = [NSMutableString stringWithString:@"1431665"]; NSLog(@"clientId: %@", clientId); Pinterest *pinterest = [[Pinterest alloc] initWithClientId:clientId]; NSLog(@"gone: %@", clientId); // <- CRASH! I'm using NSMutableString stringWithString to simulate the conditions in my app. I don't

Integrating Pinterest with my iOS app [closed]

青春壹個敷衍的年華 提交于 2019-12-21 15:45:16
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 6 years ago . I want to post an image on to pinterest account from my iPhone application, there is no any API release from pinterest thats why i am

Can you control pinterest's “find image” results?

≡放荡痞女 提交于 2019-12-21 03:45:11
问题 Rather than add Pin It buttons through our site, I would like to simply control what images show up in Pinterest's "Find Image" results if a user decides to pin one of our URLs. As of now, "Find Images" allows the user to scroll through the images it finds on the page so they can select which image to pin. The "found" images start with the first jpg in the html file, I'm assuming (could that be a bad assumption??). On our site, this forces a user to scroll through about 15 navigation and

Pinterest API - returning 403 on EC2 Instance

[亡魂溺海] 提交于 2019-12-20 05:38:19
问题 I'm attempting to retrieve the number of Pins for a given URL. I created this Python script, which takes two separate URLs and prints out the amount of Pins for each. When I run this script on my local machine I'm returned a 200 response containing the Pin count, however, when I run the exact same script on my EC2 instance I'm returned 403 error. Here is the Python script: #!/usr/bin/python import requests # Pinterest API pinterest_endpoint = "http://api.pinterest.com/v1/urls/count.json

Authorise Pinterest App

≡放荡痞女 提交于 2019-12-19 05:23:51
问题 I have added a collaborator for my Pinterest app, however, when accessing the colaberators account and clicking on the application there is no 'authorise' button or anything similar. The "You still need at least 1 collaborator to authorize your app before you can submit" warning still shows on the collaberators account. Ant help would be appreciated, thanks! 回答1: We had the same problem. You need to at least add two co-workers, one as collaborator and one as tester. These must be different

Making a Pinterest-like grid with Bootstrap: the boxes are not displayed right below each other

淺唱寂寞╮ 提交于 2019-12-18 12:27:33
问题 The HTML scheme is following: <div class="items"> <div class="item">...</div> <div class="item">...</div> <div class="item">...</div> ... </div> .item CSS style: float: left; And the result: But the white boxes are not aligned right one after another one -- where could be the issue? I;ve tried also using display: inline-block; instead of float: left; , but the result was basically the same. Thank you 回答1: You can use CSS 3 column-width and column-gap like this.. http://www.bootply.com/118335

Android share intent for Pinterest not working

送分小仙女□ 提交于 2019-12-17 16:54:23
问题 I am doing an android share intent for Pinterest but is not fully working. I am able to attach the image but I can't send text to the "description" field in the share window. I've tried different types (text/plain, image/*, image/png) and also tried the ACTION_SEND_MULTIPLE intent type but still no luck. Google chrome share intent works perfectly so I'm sure Pinterest supports this functionality. Here is my code: Intent intent = new Intent(Intent.ACTION_SEND); intent.setType("*/*"); intent