【发布时间】:2015-01-16 04:49:12
【问题描述】:
以下是一些 imgur 链接的示例:
https://imgur.com/gallery/s2Bqq
https://i.imgur.com/26xcQUF.jpg
http://i.imgur.com/rfw7jrU.gif
http://i.imgur.com/rfw7jrU.gifv
图像的 imgur API specifically asks for the ID(s2Bqq、26xcQUF 等),但据我所见,无法获取给定链接的图像 ID。
所以我的问题是,我将如何使用 PHP 获取任何 imgur 链接的 ID?
【问题讨论】: