1 | <?php |
||
13 | class Instagram extends AbstractService |
||
14 | { |
||
15 | /** |
||
16 | * Defined scopes. |
||
17 | * |
||
18 | * @see http://instagram.com/developer/authentication/#scope |
||
19 | */ |
||
20 | const SCOPE_BASIC = 'basic'; |
||
21 | const SCOPE_PUBLIC_CONTENT = 'public_content'; |
||
22 | const SCOPE_COMMENTS = 'comments'; |
||
23 | const SCOPE_RELATIONSHIPS = 'relationships'; |
||
24 | const SCOPE_LIKES = 'likes'; |
||
25 | const SCOPE_FOLLOWER_LIST = 'follower_list'; |
||
26 | |||
27 | public function __construct( |
||
40 | |||
41 | /** |
||
42 | * {@inheritdoc} |
||
43 | */ |
||
44 | public function getAuthorizationEndpoint() |
||
48 | |||
49 | /** |
||
50 | * {@inheritdoc} |
||
51 | */ |
||
52 | public function getAccessTokenEndpoint() |
||
56 | |||
57 | /** |
||
58 | * {@inheritdoc} |
||
59 | */ |
||
60 | protected function getAuthorizationMethod() |
||
64 | |||
65 | /** |
||
66 | * {@inheritdoc} |
||
67 | */ |
||
68 | protected function parseAccessTokenResponse($responseBody) |
||
88 | } |
||
89 |