如何在不登录 php 的情况下下载 instagram 故事

问题描述 投票:0回答:3

我要下载 Instagram 故事和精彩集锦,无需登录 Laravel。 你知道吗? tnx 帮助

php laravel instagram instagram-story
3个回答
1
投票

如果你想从头开始构建一些东西,你可以使用 Instagram-API (

composer require mgp25/Instagram-API
),或者你可以使用现有的项目,例如:

示例(基于Insta-story

获取您在表单中选择的用户的故事(即

$_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>

0
投票

我不认为没有帐户 Instagram 会允许这样做

https://www.instagram.com/developer/authentication/

如果您发现一些文档另有说明,请告诉我,也许我可以建议如何将其集成到 laravel


0
投票

据我了解,您必须登录帐户才能查看故事。偶尔你可以在没有登录的情况下查看一些故事,但是,这不会稳定。

© www.soinside.com 2019 - 2024. All rights reserved.