opauth/instagram
Composer 安装命令:
composer require opauth/instagram
包简介
Instagram strategy for Opauth
README 文档
README
Opauth strategy for Instagram authentication.
Implemented based on http://instagr.am/developer/authentication/
Opauth is a multi-provider authentication framework for PHP.
Getting started
-
Install Opauth-Instagram:
cd path_to_opauth/Strategy git clone git://github.com/muhdazrain/opauth-instagram.git Instagram -
Create a Instagram application at http://instagr.am/developer/clients/register/
- Make sure that redirect URI is set to actual OAuth 2.0 callback URL, usually
http://path_to_opauth/instagram/int_callback
- Make sure that redirect URI is set to actual OAuth 2.0 callback URL, usually
-
Configure Opauth-Instagram strategy.
-
Direct user to
http://path_to_opauth/instagramto authenticate
Strategy configuration
Required parameters:
<?php 'Instagram' => array( 'client_id' => 'YOUR CLIENT ID', 'client_secret' => 'YOUR CLIENT SECRET' )
Optional parameters:
scope, response_type
For scope, separate each scopes with a space(' ') and not a plus sign ('+'). Eg. likes comments.
References
License
Opauth-Instagram is MIT Licensed
Copyright © 2012 Muhammad Azrain Kamaruddin (@muhdazrain)
统计信息
- 总下载量: 6.59k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 9
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2013-05-05