framecreative/fetch-insta-posts
Composer 安装命令:
composer require framecreative/fetch-insta-posts
包简介
README 文档
README
This WordPress plugin allows clients to hook up an instagram account, the Instagram API will then be called every 15 minutes on a cron and posts will be saved to an insta-post post type. These can then be displayed however it makes sense.
Setup
The settings panel is found under Settings > Instagram. To connect an account log into the account at instagram.com in a seperate tab and then click connect. This will follow through the authorisation process and save a token. The 'Fetch Posts' button will initiate a manual fetch.
Content
Instagram data will be saved to custom fields. Images will also be downloaded and attached to the post as a featured image. If there are posts existing without featured images there is an action under settings to download and attach these.
Extending
The action 'fetch_insta_inserted_post' is called after each new post is inserted. This can be used to modify the post, for instance adding terms to it.
Version 2
Account connection will need to be refreshed after install because new tokens are needed. Image width and height meta information won't be saved on posts, but can be accessed from the thumnail attachment.
Version 2.1
Add support for Carousel Images (loads first image only). Change to a 'create or update' strategy to update posts in the feed if data has changed (ie: image).
A word on tokens
Facebook / Instagram seem determined not to approve out application, so for this to work each client account must be added as a "tester" to the Frame Facebook Feed AP under the 'Instagram basic display' section.
framecreative/fetch-insta-posts 适用场景与选型建议
framecreative/fetch-insta-posts 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 105 次下载、GitHub Stars 达 0, 最近一次更新时间为 2022 年 09 月 01 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 framecreative/fetch-insta-posts 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 framecreative/fetch-insta-posts 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 105
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 11
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2022-09-01