我正在使用FB和twitter作为站点,使用多种技术提取URL。.我100%拥有正确的URL,因为我使用的每种技术都会产生相同的URL。它是HTML正文中的简单img
标记,带有src
和alt
就是这样。我很茫然,因为我不知道为什么会发生这种情况...这是代码。
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title>Zachary Henderson Professional Portfolio</title>
</head>
<body>
<img src="https://www.instagram.com/p/Brua7ssnfO1/" alt="Baccon Wrapped Cod">
<h1>Zachary Henderson</h1>
<p><em>Founder and Opperator of <b>Glossy Glass</b> </em></p>
<hr>
<h3>
Experience & Projects
</h3>
<hr>
<h3>My Hobbies</h3>
</body>
</html>
为了从URL加载图像,您必须提供指向该图像的直接链接。
您尝试从中加载图像的链接是Instagram照片链接,而不是图像的直接链接。
要从Instagram加载图像,您可以查看Instagram的User Endpoints。>>