【问题标题】:PHP-Pinterest Api - get total pins and repins for a domain/webpagePHP-Pinterest Api - 获取域/网页的总 pin 和 repin
【发布时间】:2017-02-12 09:29:54
【问题描述】:

是否可以使用 Pinterest Api 通过任何可能的方式获取网页/域的总 pin 和 repin 计数

试过这种方式 -->

https://api.pinterest.com/v1/urls/count.json?&url=http://Hjnorthbay.com

它返回零计数。

但是如果我们通过这种方式检查,Hjnorthbay.com 存在针脚,

https://www.pinterest.com/source/hjnorthbay.com/

还有pinterest domain api呢,它被弃用了吗?

请帮忙。

【问题讨论】:

    标签: php api pinterest


    【解决方案1】:

    它不适用于整个域,仅适用于特殊页面。无法获得整个域的总 pin 数。

    我刚刚尝试了我网站的几页,您还应该使用http:// 和名称域与您的链接看起来一样。

    例如

    失败!

    receiveCount({"url":"http://www.ticlotel.com/layered-medium-curly-hairstyles-2017.html","count":0})

    利润!

    receiveCount({"url":"http://ticlotel.com/layered-medium-curly-hairstyles-2017.html","count":107})

    失败!

    receiveCount({"error":"无效 网址","url":"Ticlotel.com/layered-medium-curly-hairstyles-2017.html"})

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2018-10-22
      • 2013-08-18
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-10-10
      相关资源
      最近更新 更多