Documentation ¶
Index ¶
- Constants
- func ParseResponseUrl(responseUrl string) (string, string, string, error)
- type Api
- func (vk *Api) GetAuthUrl(redirect_uri string, client_id string, scope string) (string, error)
- func (vk *Api) LoginAuth(email string, password string, client_id string, scope string) error
- func (vk *Api) OAuth(redirect_uri string, client_secret string, client_id string, code string) error
- func (vk *Api) Request(methodName string, params map[string]string) (string, error)
- func (vk *Api) SetDebug(s bool)
- type OAuthResponse
Constants ¶
View Source
const API_METHOD_URL = "https://api.vk.com/method/"
View Source
const API_VERSION = "5.62"
View Source
const AUTH_HOST = "https://oauth.vk.com/authorize"
View Source
const AUTH_HOST_GET_TOKEN = "https://oauth.vk.com/access_token"
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.