|
|
|
|
|
|
|
|
|
|
inherit Auth.OAuth2.Client; |
|
|
constant OAUTH_AUTH_URI = "https://api.instagram.com/oauth/authorize"; |
|
|
constant OAUTH_TOKEN_URI = "https://api.instagram.com/oauth/access_token"; |
|
constant SCOPE_BASIC = "basic"; |
constant SCOPE_COMMENTS = "comments"; |
constant SCOPE_RELATIONSHIPS = "relationships"; |
constant SCOPE_LIKES = "likes"; |
|
|
protected multiset(string) valid_scopes = (< |
SCOPE_BASIC, SCOPE_COMMENTS, SCOPE_RELATIONSHIPS, SCOPE_LIKES >); |
|
|
protected string _scope = SCOPE_BASIC; |
|
|