Instagram Data365 API Tutorial: Basics, Background, Components, Features
Data365 API is based on a REST syntax. This approach has some differences from Graph syntax, which has both its advantages and disadvantages. Using REST API queries you will be able to collect only that type of data which is relevant and not to get all in one.
Step 1. Create request
Create a POST request to start the update process. POST request enables you to receive updated data directly from the social network. At this stage, we call upon the social network and update the Data365 databases in conformance with your request.
To fetch Instagram data you will need to define the type of data in which you're interested in and then to follow the next algorithm:
Step 2. Get status
If the url callback was not specified, the next step is to make a GET request to get the updated status of your POST request.
created - task in line
pending - update coming
finished - successfully completed
fail - completed with an error
canceled - task canceled by user
unknown - if the update did not start
Step 3. Get data
Create a GET request to get cached data from the databases of Data365
API response always contains fields:
This API works primarily with endpoints, which are multiple REST-based web service URLs to access much of Instagram's overall functionality:
Data 365 Instagram API Query
Using the POST and GET queries of the Data365 API, you get the necessary data from the web version of Instagram, and then you collect the cached data from the Data365 database. Please note that in order to receive data or update previously received data, you need to send a POST request.
The request reflects the data that will be requested from the web version of Instagram.
Here is an example of information that can be requested for the public profile.
To collect all fetched data from the database you will need to send a GET request with the parameters that correspond to the structure of a POST request.
All the results are provided in JSON format.
If the parameter callback_url was specified when creating the task, then a POST request will be made to this URL after the update is completed. In this case, you can skip subsequent Steps 2 and 3.
The field data.status will display the current update status
Repeat this step until the update is complete
data - contains the data that the request should return. May be empty
error - contains an error code in the field code and error description in the field
message. May be empty if there is no error.
status - ok, if the request is ok, fail - if any error occurred
"Instagram Profile" allows you to collect data on public profiles by ID or username. View its posts, stories, followers and followings, suggested profiles.
Retrieve lists of followers.
"Instagram Profile search" allows you to search for public profiles using keywords such as name and surname and get basic information of these profiles.
"Instagram location search" get Instagram posts searching by internal Instagram ID of the target location.
"Instagram Hashtag search" allows you to search for public posts, namely for posts with a specific hashtag.
"Instagram Profile" allows you to collect data on public posts by ID. Collects medias, url of photo or video, comments, likes, and tags.