pinterest

How do I make a Pinterest Widget Builder Responsive?

匿名 (未验证) 提交于 2019-12-03 00:50:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: The Pinterest Widget Builder allows for flexibility in creating a widget to place on your site. I added one on this page , but there appears to be a limit to the width you can set for the widget. For example I set the width to 1170, but it is only displaying at 1111px. Here is the code: <a data-pin-do="embedUser" href="http://www.pinterest.com/rouvieremedia/" data-pin-scale-width="180" data-pin-board-width="1170">Follow Pinterest's board Pin pets on Pinterest.</a> This is a Bootstrap site and I would really like to be able to make this

Social Share Links with Custom Icons [closed]

让人想犯罪 __ 提交于 2019-12-02 23:59:52
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed last year . I'm looking for any solid current information on creating custom share icons for the following. Facebook Twitter Google + LinkedIn Pinterest All the documentation I keep getting to seems to be about using THEIR social like / share buttons - which most of the time I think are not

How can i rerender Pinterest's Pin It button?

房东的猫 提交于 2019-12-02 15:55:00
I'm trying to create and manipulate the Pin It button after page load. When i change the button properties with js, it should be rerendered to get the functionality of pinning dynamically loaded images. So, does Pinterest have any method like Facebook's B.XFBML.parse() function? Thanks... Just add data-pin-build attribute to the SCRIPT tag: <script defer src="//assets.pinterest.com/js/pinit.js" data-pin-build="parsePinBtns"></script> That causes pinit.js to expose its internal build function to the global window object as parsePinBtns function. Then, you can use it to parse links in the

How to transition from UICollectionView to UIViewController like Pinterest/Evernote

若如初见. 提交于 2019-12-02 14:18:27
I have a UICollectionView and when an item is selected, I'd like it to animate full screen. So it would transition from the size of the cell to full screen and become a UIViewController. Pinterest and Evernote both have this behavior where tapping on a cell transitions the cell into a full screen view controller. Are there any example of how this is done? I've searched several projects, but haven't found any illustrating on transitioning a cell to full screen view controller. Pinterest discusses it here: https://medium.com/@Pinterest_Engineering/behind-the-pins-building-pinterest-3-0-for-ios

Social Share Links with Custom Icons [closed]

偶尔善良 提交于 2019-12-02 13:47:02
I'm looking for any solid current information on creating custom share icons for the following. Facebook Twitter Google + LinkedIn Pinterest All the documentation I keep getting to seems to be about using THEIR social like / share buttons - which most of the time I think are not very appealing. Things like socialite.js help to deal with some of the other issues that arrise when using the "native" like / share buttons (sorry not sure what else to call them), but they're not very pretty to be honest. Any reference material / tutorials or guidance would be awesome. Cheers. Baskaran Below, I am

Pinterest API - returning 403 on EC2 Instance

你。 提交于 2019-12-02 11:01:56
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?callback=&url=" # Emulate a SQL Query result (id, url) results = [(1, "http://allrecipes.com/recipe/easter

Pinterest API giving Error code 3

一世执手 提交于 2019-12-02 05:48:43
问题 I am hitting Pinterest's /v1/me/boards API, but i am getting following response: {"status": "failure", "code": 3, "host": "devplatform-devapi-prod-d4f1472d", "generated_at": "Tue, 05 Jan 2016 13:29:40 +0000", "message": "Authorization failed.", "data": null} I am making following request { "method": "get", "url": "https://api.pinterest.com/v1/me/boards", "headers": { "Authorization": "Bearer <valid-token-value-here>" }, "qs": { "fields": "image,counts,created_at,description,url,name" } } I am

Pinterest API giving Error code 3

[亡魂溺海] 提交于 2019-12-02 02:16:30
I am hitting Pinterest's /v1/me/boards API, but i am getting following response: {"status": "failure", "code": 3, "host": "devplatform-devapi-prod-d4f1472d", "generated_at": "Tue, 05 Jan 2016 13:29:40 +0000", "message": "Authorization failed.", "data": null} I am making following request { "method": "get", "url": "https://api.pinterest.com/v1/me/boards", "headers": { "Authorization": "Bearer <valid-token-value-here>" }, "qs": { "fields": "image,counts,created_at,description,url,name" } } I am passing above configuration to the request module. Note: <valid-token-value-here> actually gets

Pinterest login with PHP and cURL not working

99封情书 提交于 2019-12-01 14:08:18
I have been trying to make cURL login into pinterest.com for the last 17 hours straight, have tried countless and countless different ways just with cURL but it does not work at all. My current code only goes to the page but the data is not posted, so it does not login just takes me to the login page. This first code is using USERPWD which is where it takes me to the login page but it does not login. error_reporting(E_ALL); ini_set("display_errors", 1); $url = "https://www.pinterest.com/login/"; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_USERAGENT,

Custom URL scheme for Pinterest on iOS Safari to open board URL?

半腔热情 提交于 2019-12-01 11:49:35
问题 I can't for the life of me find out how to simply open a Pinterest board (by launching the APP if it's installed) through an anchor within HTML. I've taken a look at: https://developers.pinterest.com, but still can't find what i'm looking for. It seems most of the documentation out there is geared more towards the action of pinning an item, rather than viewing. All I want to do is open a users profile. For example, i've dug up the following which works great for alternative social media links