jworksuk/instagram-api 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

jworksuk/instagram-api

最新稳定版本:v1.0.4

Composer 安装命令:

composer require jworksuk/instagram-api

包简介

README 文档

README

Latest Version on Packagist Software License Build Status Coverage Status Quality Score Total Downloads

Structure

If any of the following are applicable to your project, then the directory structure should follow industry best practices by being named the following.

bin/        
build/
docs/
config/
src/
tests/
vendor/

Install

Via Composer

$ composer require jworksuk/instagram-api

Usage

See /examples directory

$sessionId = new GuzzleHttp\Cookie\SetCookie([
    "Name"     => 'sessionid',
    "Value"    => 'ak91F09c_6sADwlo', // example
    "Domain"   => ".instagram.com",
    "Path"     => "/",
    "Expires"  => '2026-01-01 00:00:00', // example
    "Max-Age"  => "31536000",
    "Secure"   => true,
    "Discard"  => false,
    "HttpOnly" => false,
]);
$cookieJar = new GuzzleHttp\Cookie\CookieJar(false, [$sessionId]);

$instagramApiClient = new JWorksUK\InstagramApi\Client(
    new GuzzleHttp\Client(),
    $cookieJar
);

$stories = $instagramApiClient->getStoriesByProfileIds([25025320]);

Change log

Please see CHANGELOG for more information on what has changed recently.

Testing

$ composer test

Contributing

Please see CONTRIBUTING and CODE_OF_CONDUCT for details.

Security

If you discover any security related issues, please email me@jworksuk.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

统计信息

  • 总下载量: 23
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-04-06