承接 ryangittings/craft-instagram-feed 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

ryangittings/craft-instagram-feed

Composer 安装命令:

composer require ryangittings/craft-instagram-feed

包简介

A simple plugin for pulling Instagram posts in your templates.

README 文档

README

A plugin for Craft CMS that allows you to retrieve your Instagram feed.

Installation

Upload the instagramfeed/ directory to your plugins/ directory.

Go to plugins and install/enable Instagram Feed.

Next, go to settings and enter your Instagram user id and access token.

Usage

instagramfeed has two available methods for you to call.

getFeed(int $numberOfPostsToRetrieve)

returns a multidimensional array of your instagram posts. Each post has four elements you can access.

  • link (the link to your instagram post)
  • url (the url of the image)
  • likes (the number of likes the post recieved)
  • comments (the number of comments the post recieved)
{% for image in craft.instagramfeed.getFeed(8) %}
    {{ image.link }}
    {{ image.url }}
    {{ image.likes }}
    {{ image.comments }}
{% endfor %}
isConnected()

Returns true if Instagram Feed succesfully connected to your instagram account

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-12-20

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固