thelia / instagram-module
此包最新版本(dev-master)没有提供许可证信息。
dev-master
2015-05-12 16:32 UTC
Requires
- thelia/installer: ~1.1
This package is auto-updated.
Last update: 2024-09-14 21:33:23 UTC
README
本模块可展示您Instagram账户的照片。您需要知道您的Instagram账户访问令牌。
安装
手动安装
- 将模块复制到
<thelia_root>/local/modules/
目录,并确保模块名称为Instagram。 - 在thelia管理面板中激活
Composer
将其添加到您的thelia主composer.json文件中
composer require thelia/instagram:~1.0
用法
在此模块的配置面板中,您可以记录访问令牌、用户名和要显示的照片数量
如何获取我的访问令牌
- 您需要连接到 https://instagram.com/developer/ 来创建您的应用程序令牌。
- 确保未选中“禁用隐式OAuth”选项
- 连接到 https://instagram.com/oauth/authorize/?client_id=CLIENT-ID&redirect_uri=REDIRECT-URI&response_type=token 并粘贴新URL中的令牌:http://your-redirect-uri#access_token=ACESSTOKEN