定制 rapid-api/instagram-scrapper 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

rapid-api/instagram-scrapper

Composer 安装命令:

composer require rapid-api/instagram-scrapper

包简介

Get instagram posts and reels from rapid API

README 文档

README

This PHP library is designed to fetch posts from Instagram via RapidAPI.

Installation

Install the package using Composer:

composer require rapid-api/instagram-scrapper

Then, run the following command:

composer require rapid-api/instagram-scrapper:dev-main

Usage

Using the package is very simple:

require 'vendor/autoload.php';

use YourVendor\InstagramAPI\InstagramClient;

$apiKey = 'YOUR_RAPIDAPI_KEY';
$instagram = new InstagramClient($apiKey);

$posts = $instagram->getUserPosts('cristiano');

print_r($posts);

Functions

getUserPosts($username)

Fetches posts of a specific user.

$posts = $instagram->getUserPosts('cristiano');

Response Example:

{
    "data": [
        {
            "id": "123456789",
            "caption": "New post!",
            "image": "https://instagram.com/image.jpg",
            "likes": 1500,
            "comments": 300
        }
    ]
}

Requirements

  • PHP 7.3 or higher
  • Composer
  • A registered RapidAPI account with an Instagram API key

License

Distributed under the MIT License.

Author

Mr Oxunjon Abdurashidov
abdurashidovoxunjon@gmail.com

Contributing

If you want to contribute, feel free to submit a pull request or open an issue on the GitHub repository.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-02-08

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固