Начнём!
Добро пожаловать в РосТвиттер API. Это руководство поможет вам использовать наш API для доступа к конечным точкам РосТвиттер API, поэтому мы рекомендуем вам использовать именно эту документацию и обращаться к нам за помощью в случае возникновения неясных вопросов.
Important terminology
Please understand the terminology of our API before you start using it.
Basic definitions
Title | Value | Remarks |
---|---|---|
API Access URL | [YOUR-SITE-URL]/mobile_api/[ENDPOINT_TYPE] | URL address for access to API Must be as shown in the example. E.g. https://xn--b1agiwjedica.xn--p1ai/mobile_api/login |
Auth token | https://xn--b1agiwjedica.xn--p1ai/mobile_api?session_id=[YOUR-SESSION-ID] | Most of the user's actions require his authorization, for example, like, or determine whether the user follows some kind of profile, etc. Therefore, we recommend that you always send a user's session on a get request if the user is logged in. |
API Access key | https://xn--b1agiwjedica.xn--p1ai/mobile_api?api_key=[YOUR-API-KEY] | To access the API, the most important point is a unique API key that is specific to each instance of this script. |
Response data type | {...} | The server response to your API request will be in JSON format |