tofers/instagram-post-info 问题修复 & 功能扩展

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

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

tofers/instagram-post-info

Composer 安装命令:

composer require tofers/instagram-post-info

包简介

Getting data about a post on Instagram. Nickname, location, post date, number of likes, photo.

README 文档

README

Instagam post info - nicname, image, date, likes, location

Getting data about a post on Instagram. Nickname, location, post date, number of likes, photo.

Only links of public posts from Instagram will work, if this is a public account, the result will be an error.

Installation

The preferred way to install this extension is through composer.

Either run:

composer require tofers/instagram-post-info

or add

"tofers/instagram-post-info": "*"

to the require section of your composer.json file.

Usage

See how it works:

https://chitoff.ru/instagram

Set link to extension in your view:

<?php

use tofers\instagrampost\InstagramPostInfo;

$instagram_post = new InstagramPostInfo("https://www.instagram.com/p/CB7KzC6BPIn/"); 

echo 'instagram link: ' . $instagram_post->src;
echo '<br>';
echo '<br>';
echo 'Account name: ' . $instagram_post->account;
echo '<br>';
echo '<br>';
echo 'Image src: ' . $instagram_post->image;
echo '<br>';
echo '<br>';
echo 'Date post: ' . $instagram_post->date;
echo '<br>';
echo '<br>';
echo 'Like post: ' . $instagram_post->like;
echo '<br>';
echo '<br>';
echo 'Location: ' . $instagram_post->location;


?>

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2020-08-18

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固