我要下载 Instagram 故事和精彩集锦,无需登录 Laravel。 你知道吗? tnx 帮助
如果你想从头开始构建一些东西,你可以使用 Instagram-API (
composer require mgp25/Instagram-API
),或者你可以使用现有的项目,例如:
获取您在表单中选择的用户的故事(即
$_POST['username']
)并将echo
它出来。
<?php
require_once 'class.instagram.php';
if (isset($_POST['submit'])) {
$story = new instagram_story();
$story->getStory($_POST['username']);
}
?>
<div id="center" style="text-align: center; margin-top: 300px;">
<form action="" method="post">
<input name="username">
<input type="submit" name="submit">
</form>
</div>
我不认为没有帐户 Instagram 会允许这样做
https://www.instagram.com/developer/authentication/
如果您发现一些文档另有说明,请告诉我,也许我可以建议如何将其集成到 laravel
据我了解,您必须登录帐户才能查看故事。偶尔你可以在没有登录的情况下查看一些故事,但是,这不会稳定。