1 | <?php |
||
9 | class Instagram extends AbstractService |
||
10 | { |
||
11 | /** |
||
12 | * Defined scopes |
||
13 | * @link http://instagram.com/developer/authentication/#scope |
||
14 | */ |
||
15 | const SCOPE_BASIC = 'basic'; |
||
16 | const SCOPE_PUBLIC_CONTENT = 'public_content'; |
||
17 | const SCOPE_COMMENTS = 'comments'; |
||
18 | const SCOPE_RELATIONSHIPS = 'relationships'; |
||
19 | const SCOPE_LIKES = 'likes'; |
||
20 | const SCOPE_FOLLOWER_LIST = 'follower_list'; |
||
21 | |||
22 | /** |
||
23 | * {@inheritdoc} |
||
24 | */ |
||
25 | protected function init() |
||
33 | |||
34 | /** |
||
35 | * {@inheritdoc} |
||
36 | */ |
||
37 | public function getAuthorizationEndpoint() |
||
41 | |||
42 | /** |
||
43 | * {@inheritdoc} |
||
44 | */ |
||
45 | public function getAccessTokenEndpoint() |
||
49 | |||
50 | /** |
||
51 | * {@inheritdoc} |
||
52 | */ |
||
53 | protected function getAuthorizationMethod() |
||
57 | |||
58 | /** |
||
59 | * {@inheritdoc} |
||
60 | */ |
||
61 | protected function parseAccessTokenResponse($responseBody) |
||
81 | } |
||
82 |