frmontini/instafeed 问题修复 & 功能扩展

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

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

frmontini/instafeed

Composer 安装命令:

composer require frmontini/instafeed

包简介

Get basic information and latest posts from a public Instagram profile.

README 文档

README

Now you can get data from public profile pages on Instagram without logging in.

Get started

This repository requires Composer 2.x to install. You can update it using a simple command in your console: composer self-update --preview. Also, you need to run on PHP 7.2.x.

Composer command to install:

composer require frmontini/instafeed

How to use

Just follow the example below:

include('vendor/autoload.php');

$utils = new InstaFeed\Utils();

/* TO GET INSTAGRAM CONTENT */

$username = 'cocacola';
$data = $utils->getData($username);
print_r(json_decode($data));

/* TO CLEAR CACHE */

$username = 'cocacola';
$utils->noCache($username);

About cache

To prevent blocking access to the profile and redirecting to the login page, further calls to fetched profiles will return cached data. You can clear persisted data from a specific profile using the noCache function (see example above).

License

OSL-3.0

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: OSL-3.0
  • 更新时间: 2021-11-25

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固