\Services_Instagram

Instagramコンシューマークラス OAuthライブラリに依存せず,OAuth2.0に対応する

Summary

Methods
Properties
Constants
__construct()
getAuthUrl()
getAcsTokenUrl()
httpRequest()
$Response
No constants found
No protected methods found
$client_id
$client_secret
$redirect_uri
$access_token
$authorize_url
$access_url
$api_host
N/A
No private methods found
No private properties found
N/A

Properties

$Response

$Response : \HTTP_Request2

Type

\HTTP_Request2

$client_id

$client_id : 

Type

$client_secret

$client_secret : 

Type

$redirect_uri

$redirect_uri : 

Type

$access_token

$access_token : 

Type

$authorize_url

$authorize_url : 

Type

$access_url

$access_url : 

Type

$api_host

$api_host : 

Type

Methods

__construct()

__construct(integer  $id, string  $secret, string  $redirect, null  $access = null) 

Parameters

integer $id
string $secret
string $redirect
null $access

getAuthUrl()

getAuthUrl(array  $params = array()) : string

認証URL

Parameters

array $params

Returns

string

getAcsTokenUrl()

getAcsTokenUrl(array  $params = array()) : string

アクセストークンURL

Parameters

array $params

Returns

string

httpRequest()

httpRequest(string  $path, array  $params = array(), string  $http_method = 'GET') : boolean

APIへのHTTPリクエストを試みる レスポンスは $this->Responseを参照して確認する

Parameters

string $path

リクエストパス

array $params

リクエストパラメータ

string $http_method

HTTPメソッド

Returns

boolean —

リクエストの実行結果