【问题标题】:Getting all pins of a specific user Pinterest获取特定用户 Pinterest 的所有 pin
【发布时间】:2016-02-06 00:53:15
【问题描述】:

嘿,我正在尝试从 Android 应用中的 pinterest API 获取特定用户的所有 pin 但正如我现在看到的那样,搜索后没有公共 Api,我发现这个 Post 包含一个用于获取特定用户 http://widgets.pinterest.com/v3/pidgets/users/eecolor/pins/所有引脚的端点@
这可以完美运行,但它不包含 pin 创建日期。
我还检查了官方网站,其中包含sample response 的引脚列表,数据包含创建日期

那么我该如何做到这一点,是否应该将任何额外的字段添加到上一个端点
谢谢

【问题讨论】:

    标签: android pinterest


    【解决方案1】:

    您可以从这里获取抓取: https://www.pinterest.com/pin/[put-pin-id-here]/

    例如。 https://www.pinterest.com/pin/1234565787899/

    查看页面代码:

    meta itemprop="datePublished" content="2015-05-19T10:31:33"/

    【讨论】:

    • 感谢您的帮助,但我想一次检索所有引脚,并且我想要 json 响应
    【解决方案2】:

    我发现除非您是页面的管理员,否则无法从特定页面获取 pinterest pin,但在这种情况下,您可以使用此 url 来使用 rest Api

    "https://api.pinterest.com/v1/me/pins/?access_token=token&fields=id%2Curl%2Cnote%2Ccreated_at%2Cimage&limit=10
    

    并且可以从这里生成访问令牌

    https://developers.pinterest.com/tools/access_token
    

    问候

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2016-03-04
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-03-21
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多