opauth / instagram
Instagram strategy for Opauth
Installs: 6 439
Dependents: 0
Suggesters: 0
Security: 0
Stars: 8
Watchers: 1
Forks: 5
Open Issues: 1
Requires
- php: >=5.2.0
- opauth/opauth: >=0.2.0
This package is not auto-updated.
Last update: 2024-12-17 03:51:13 UTC
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/instagram
to 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)