All URIs are relative to http://localhost
Method | HTTP request | Description |
---|---|---|
fetchCommentRepliesByCommentIdApiV1InstagramWebAppFetchCommentRepliesByCommentIdGet | GET /api/v1/instagram/web_app/fetch_comment_replies_by_comment_id | 根据评论ID获取评论回复数据/Get comment replies by comment ID |
fetchCommentRepliesByCommentIdApiV1InstagramWebAppFetchCommentRepliesByCommentIdGet_0 | GET /api/v1/instagram/web_app/fetch_comment_replies_by_comment_id | 根据评论ID获取评论回复数据/Get comment replies by comment ID |
fetchGlobalSearchApiV1InstagramWebAppFetchGlobalSearchGet | GET /api/v1/instagram/web_app/fetch_global_search | 综合搜索/Search all by query |
fetchGlobalSearchApiV1InstagramWebAppFetchGlobalSearchGet_0 | GET /api/v1/instagram/web_app/fetch_global_search | 综合搜索/Search all by query |
fetchHashtagPostsByKeywordApiV1InstagramWebAppFetchHashtagPostsByKeywordGet | GET /api/v1/instagram/web_app/fetch_hashtag_posts_by_keyword | 根据关键词获取话题帖子/Get hashtag posts by query |
fetchHashtagPostsByKeywordApiV1InstagramWebAppFetchHashtagPostsByKeywordGet_0 | GET /api/v1/instagram/web_app/fetch_hashtag_posts_by_keyword | 根据关键词获取话题帖子/Get hashtag posts by query |
fetchHighlightsByHighlightIdApiV1InstagramWebAppFetchHighlightsByHighlightIdGet | GET /api/v1/instagram/web_app/fetch_highlights_by_highlight_id | 根据highlights ID获取highlight数据/Get highlights by highlight ID |
fetchHighlightsByHighlightIdApiV1InstagramWebAppFetchHighlightsByHighlightIdGet_0 | GET /api/v1/instagram/web_app/fetch_highlights_by_highlight_id | 根据highlights ID获取highlight数据/Get highlights by highlight ID |
fetchLocationPostsByLocationIdApiV1InstagramWebAppFetchLocationPostsByLocationIdGet | GET /api/v1/instagram/web_app/fetch_location_posts_by_location_id | 根据地点ID获取地点相关的帖子/Get location posts by location ID |
fetchLocationPostsByLocationIdApiV1InstagramWebAppFetchLocationPostsByLocationIdGet_0 | GET /api/v1/instagram/web_app/fetch_location_posts_by_location_id | 根据地点ID获取地点相关的帖子/Get location posts by location ID |
fetchMusicInfoByMusicIdApiV1InstagramWebAppFetchMusicInfoByMusicIdGet | GET /api/v1/instagram/web_app/fetch_music_info_by_music_id | 根据音乐ID获取音乐数据/Get music data by music ID |
fetchMusicInfoByMusicIdApiV1InstagramWebAppFetchMusicInfoByMusicIdGet_0 | GET /api/v1/instagram/web_app/fetch_music_info_by_music_id | 根据音乐ID获取音乐数据/Get music data by music ID |
fetchPostCommentsByUrlApiV1InstagramWebAppFetchPostCommentsByUrlGet | GET /api/v1/instagram/web_app/fetch_post_comments_by_url | 根据URL获取帖子评论数据/Get post comments by URL |
fetchPostCommentsByUrlApiV1InstagramWebAppFetchPostCommentsByUrlGet_0 | GET /api/v1/instagram/web_app/fetch_post_comments_by_url | 根据URL获取帖子评论数据/Get post comments by URL |
fetchPostInfoByPostIdApiV1InstagramWebAppFetchPostInfoByPostIdGet | GET /api/v1/instagram/web_app/fetch_post_info_by_post_id | 根据帖子ID获取帖子数据/Get post data by post ID |
fetchPostInfoByPostIdApiV1InstagramWebAppFetchPostInfoByPostIdGet_0 | GET /api/v1/instagram/web_app/fetch_post_info_by_post_id | 根据帖子ID获取帖子数据/Get post data by post ID |
fetchPostInfoByUrlApiV1InstagramWebAppFetchPostInfoByUrlGet | GET /api/v1/instagram/web_app/fetch_post_info_by_url | 根据URL获取帖子数据/Get post data by URL |
fetchPostInfoByUrlApiV1InstagramWebAppFetchPostInfoByUrlGet_0 | GET /api/v1/instagram/web_app/fetch_post_info_by_url | 根据URL获取帖子数据/Get post data by URL |
fetchPostLikesByUrlApiV1InstagramWebAppFetchPostLikesByUrlGet | GET /api/v1/instagram/web_app/fetch_post_likes_by_url | 根据URL获取帖子点赞数据/Get post likes by URL |
fetchPostLikesByUrlApiV1InstagramWebAppFetchPostLikesByUrlGet_0 | GET /api/v1/instagram/web_app/fetch_post_likes_by_url | 根据URL获取帖子点赞数据/Get post likes by URL |
fetchPostMediaByUrlApiV1InstagramWebAppFetchPostMediaByUrlGet | GET /api/v1/instagram/web_app/fetch_post_media_by_url | 根据帖子URL获取媒体数据/Get media data by URL |
fetchPostMediaByUrlApiV1InstagramWebAppFetchPostMediaByUrlGet_0 | GET /api/v1/instagram/web_app/fetch_post_media_by_url | 根据帖子URL获取媒体数据/Get media data by URL |
fetchRelatedUsersByUserIdApiV1InstagramWebAppFetchRelatedUsersByUserIdGet | GET /api/v1/instagram/web_app/fetch_related_users_by_user_id | 根据用户ID获取与用户相关的其他用户/Get user related users by user ID |
fetchRelatedUsersByUserIdApiV1InstagramWebAppFetchRelatedUsersByUserIdGet_0 | GET /api/v1/instagram/web_app/fetch_related_users_by_user_id | 根据用户ID获取与用户相关的其他用户/Get user related users by user ID |
fetchSearchHashtagsByKeywordApiV1InstagramWebAppFetchSearchHashtagsByKeywordGet | GET /api/v1/instagram/web_app/fetch_search_hashtags_by_keyword | 根据关键词搜索话题数据/Search hashtags by query |
fetchSearchHashtagsByKeywordApiV1InstagramWebAppFetchSearchHashtagsByKeywordGet_0 | GET /api/v1/instagram/web_app/fetch_search_hashtags_by_keyword | 根据关键词搜索话题数据/Search hashtags by query |
fetchSearchLocationsByKeywordApiV1InstagramWebAppFetchSearchLocationsByKeywordGet | GET /api/v1/instagram/web_app/fetch_search_locations_by_keyword | 根据关键词搜索地点数据/Search locations by query |
fetchSearchLocationsByKeywordApiV1InstagramWebAppFetchSearchLocationsByKeywordGet_0 | GET /api/v1/instagram/web_app/fetch_search_locations_by_keyword | 根据关键词搜索地点数据/Search locations by query |
fetchSearchUsersByKeywordApiV1InstagramWebAppFetchSearchUsersByKeywordGet | GET /api/v1/instagram/web_app/fetch_search_users_by_keyword | 根据关键词搜索用户/Search users by query |
fetchSearchUsersByKeywordApiV1InstagramWebAppFetchSearchUsersByKeywordGet_0 | GET /api/v1/instagram/web_app/fetch_search_users_by_keyword | 根据关键词搜索用户/Search users by query |
fetchSimilarAccountsByUsernameApiV1InstagramWebAppFetchSimilarAccountsByUsernameGet | GET /api/v1/instagram/web_app/fetch_similar_accounts_by_username | 根据用户名获取相似的账户数据/Get similar accounts by username |
fetchSimilarAccountsByUsernameApiV1InstagramWebAppFetchSimilarAccountsByUsernameGet_0 | GET /api/v1/instagram/web_app/fetch_similar_accounts_by_username | 根据用户名获取相似的账户数据/Get similar accounts by username |
fetchUserAboutInfoByIdApiV1InstagramWebAppFetchUserAboutInfoByUserIdGet | GET /api/v1/instagram/web_app/fetch_user_about_info_by_user_id | 根据用户ID获取用户数据关于信息/Get user data about by user ID |
fetchUserAboutInfoByIdApiV1InstagramWebAppFetchUserAboutInfoByUserIdGet_0 | GET /api/v1/instagram/web_app/fetch_user_about_info_by_user_id | 根据用户ID获取用户数据关于信息/Get user data about by user ID |
fetchUserFollowersByUsernameApiV1InstagramWebAppFetchUserFollowersByUsernameGet | GET /api/v1/instagram/web_app/fetch_user_followers_by_username | 根据用户名获取用户的粉丝数据/Get user followers by username |
fetchUserFollowersByUsernameApiV1InstagramWebAppFetchUserFollowersByUsernameGet_0 | GET /api/v1/instagram/web_app/fetch_user_followers_by_username | 根据用户名获取用户的粉丝数据/Get user followers by username |
fetchUserFollowingByUsernameApiV1InstagramWebAppFetchUserFollowingByUsernameGet | GET /api/v1/instagram/web_app/fetch_user_following_by_username | 根据用户名获取用户的正在关注的用户数据/Get user followings by username |
fetchUserFollowingByUsernameApiV1InstagramWebAppFetchUserFollowingByUsernameGet_0 | GET /api/v1/instagram/web_app/fetch_user_following_by_username | 根据用户名获取用户的正在关注的用户数据/Get user followings by username |
fetchUserHighlightsByUsernameApiV1InstagramWebAppFetchUserHighlightsByUsernameGet | GET /api/v1/instagram/web_app/fetch_user_highlights_by_username | 根据用户名获取用户的highlights数据/Get user highlights by username |
fetchUserHighlightsByUsernameApiV1InstagramWebAppFetchUserHighlightsByUsernameGet_0 | GET /api/v1/instagram/web_app/fetch_user_highlights_by_username | 根据用户名获取用户的highlights数据/Get user highlights by username |
fetchUserInfoByIdApiV1InstagramWebAppFetchUserInfoByUserIdGet | GET /api/v1/instagram/web_app/fetch_user_info_by_user_id | 根据用户ID获取用户数据/Get user data by user ID |
fetchUserInfoByIdApiV1InstagramWebAppFetchUserInfoByUserIdGet_0 | GET /api/v1/instagram/web_app/fetch_user_info_by_user_id | 根据用户ID获取用户数据/Get user data by user ID |
fetchUserInfoByIdV2ApiV1InstagramWebAppFetchUserInfoByUserIdV2Get | GET /api/v1/instagram/web_app/fetch_user_info_by_user_id_v2 | 根据用户ID获取用户数据V2/Get user data by user ID V2 |
fetchUserInfoByIdV2ApiV1InstagramWebAppFetchUserInfoByUserIdV2Get_0 | GET /api/v1/instagram/web_app/fetch_user_info_by_user_id_v2 | 根据用户ID获取用户数据V2/Get user data by user ID V2 |
fetchUserInfoByUsernameApiV1InstagramWebAppFetchUserInfoByUsernameGet | GET /api/v1/instagram/web_app/fetch_user_info_by_username | 根据用户名获取用户数据/Get user data by username |
fetchUserInfoByUsernameApiV1InstagramWebAppFetchUserInfoByUsernameGet_0 | GET /api/v1/instagram/web_app/fetch_user_info_by_username | 根据用户名获取用户数据/Get user data by username |
fetchUserInfoByUsernameV2ApiV1InstagramWebAppFetchUserInfoByUsernameV2Get | GET /api/v1/instagram/web_app/fetch_user_info_by_username_v2 | 根据用户名获取用户数据V2/Get user data by username V2 |
fetchUserInfoByUsernameV2ApiV1InstagramWebAppFetchUserInfoByUsernameV2Get_0 | GET /api/v1/instagram/web_app/fetch_user_info_by_username_v2 | 根据用户名获取用户数据V2/Get user data by username V2 |
fetchUserInfoByUsernameWebApiV1InstagramWebAppFetchUserInfoByUsernameWebGet | GET /api/v1/instagram/web_app/fetch_user_info_by_username_web | 根据用户名获取用户网页接口的个人信息/Get user info by username web API |
fetchUserInfoByUsernameWebApiV1InstagramWebAppFetchUserInfoByUsernameWebGet_0 | GET /api/v1/instagram/web_app/fetch_user_info_by_username_web | 根据用户名获取用户网页接口的个人信息/Get user info by username web API |
fetchUserPostsByUserIdApiV1InstagramWebAppFetchUserPostsByUserIdGet | GET /api/v1/instagram/web_app/fetch_user_posts_by_user_id | 根据用户ID获取用户发布的帖子/Get user posts by user ID |
fetchUserPostsByUserIdApiV1InstagramWebAppFetchUserPostsByUserIdGet_0 | GET /api/v1/instagram/web_app/fetch_user_posts_by_user_id | 根据用户ID获取用户发布的帖子/Get user posts by user ID |
fetchUserReelsByUserIdApiV1InstagramWebAppFetchUserReelsByUserIdGet | GET /api/v1/instagram/web_app/fetch_user_reels_by_user_id | 根据用户ID获取用户发布的快拍/Get user reels by user ID |
fetchUserReelsByUserIdApiV1InstagramWebAppFetchUserReelsByUserIdGet_0 | GET /api/v1/instagram/web_app/fetch_user_reels_by_user_id | 根据用户ID获取用户发布的快拍/Get user reels by user ID |
fetchUserReelsByUsernameV2ApiV1InstagramWebAppFetchUserReelsByUsernameV2Get | GET /api/v1/instagram/web_app/fetch_user_reels_by_username_v2 | 根据用户名获取用户的Reels数据V2/Get user reels by username V2 |
fetchUserReelsByUsernameV2ApiV1InstagramWebAppFetchUserReelsByUsernameV2Get_0 | GET /api/v1/instagram/web_app/fetch_user_reels_by_username_v2 | 根据用户名获取用户的Reels数据V2/Get user reels by username V2 |
fetchUserStoriesByUsernameApiV1InstagramWebAppFetchUserStoriesByUsernameGet | GET /api/v1/instagram/web_app/fetch_user_stories_by_username | 根据用户名获取用户的Stories数据/Get user stories by username |
fetchUserStoriesByUsernameApiV1InstagramWebAppFetchUserStoriesByUsernameGet_0 | GET /api/v1/instagram/web_app/fetch_user_stories_by_username | 根据用户名获取用户的Stories数据/Get user stories by username |
fetchUserTaggedPostsByUserIdApiV1InstagramWebAppFetchUserTaggedPostsByUserIdGet | GET /api/v1/instagram/web_app/fetch_user_tagged_posts_by_user_id | 根据用户ID获取用户被标记的帖子/Get user tagged posts by user ID |
fetchUserTaggedPostsByUserIdApiV1InstagramWebAppFetchUserTaggedPostsByUserIdGet_0 | GET /api/v1/instagram/web_app/fetch_user_tagged_posts_by_user_id | 根据用户ID获取用户被标记的帖子/Get user tagged posts by user ID |
fetchUserTvPostsByUsernameApiV1InstagramWebAppFetchUserTvPostsByUsernameGet | GET /api/v1/instagram/web_app/fetch_user_tv_posts_by_username | 根据用户名获取用户的tv_posts数据/Get user tv_posts by username |
fetchUserTvPostsByUsernameApiV1InstagramWebAppFetchUserTvPostsByUsernameGet_0 | GET /api/v1/instagram/web_app/fetch_user_tv_posts_by_username | 根据用户名获取用户的tv_posts数据/Get user tv_posts by username |
ResponseModel fetchCommentRepliesByCommentIdApiV1InstagramWebAppFetchCommentRepliesByCommentIdGet(url, commentId, paginationToken)
根据评论ID获取评论回复数据/Get comment replies by comment ID
[中文] ### 用途: - 根据Instagram评论ID获取评论回复数据 - 由于此接口收到后端代理服务器的影响,请在请求此接口时适当调整timeout参数。 - 建议将timeout设置为60秒,以确保能够获取到数据,大多数情况下,数据获取时间在10秒以内。 ### 参数: - url: Instagram帖子URL - comment_id: Instagram评论ID - pagination_token: 分页token,第一次请求不需要传值,后续页需要传入上一页的返回值。 ### 返回: - 评论回复数据 # [English] ### Purpose: - Get comment replies by Instagram comment ID - Due to the impact of the backend proxy server, please adjust the timeout parameter appropriately when requesting this interface. - It is recommended to set the timeout to 60 seconds to ensure that the data can be obtained. In most cases, the data acquisition time is within 10 seconds. ### Parameters: - url: Instagram post URL - comment_id: Instagram comment ID - pagination_token: Pagination token, no need to pass value for the first request, pass the return value of the previous page for subsequent pages. ### Return: - Comment replies data # [示例/Example] url = "https://www.instagram.com/p/C3OqtMeRxrV/\" comment_id = "18033049183828491" pagination_token = None
// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.InstagramWebAndAppApiApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: bearer
HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
bearer.setBearerToken("BEARER TOKEN");
InstagramWebAndAppApiApi apiInstance = new InstagramWebAndAppApiApi(defaultClient);
String url = https://www.instagram.com/p/C3OqtMeRxrV/; // String | Instagram帖子URL/Instagram post URL
String commentId = 18033049183828491; // String | Instagram评论ID/Instagram comment ID
String paginationToken = "paginationToken_example"; // String | 分页token/Pagination token
try {
ResponseModel result = apiInstance.fetchCommentRepliesByCommentIdApiV1InstagramWebAppFetchCommentRepliesByCommentIdGet(url, commentId, paginationToken);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling InstagramWebAndAppApiApi#fetchCommentRepliesByCommentIdApiV1InstagramWebAppFetchCommentRepliesByCommentIdGet");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
url | String | Instagram帖子URL/Instagram post URL | |
commentId | String | Instagram评论ID/Instagram comment ID | |
paginationToken | String | 分页token/Pagination token | [optional] |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Successful Response | - |
422 | Validation Error | - |
ResponseModel fetchCommentRepliesByCommentIdApiV1InstagramWebAppFetchCommentRepliesByCommentIdGet_0(url, commentId, paginationToken)
根据评论ID获取评论回复数据/Get comment replies by comment ID
[中文] ### 用途: - 根据Instagram评论ID获取评论回复数据 - 由于此接口收到后端代理服务器的影响,请在请求此接口时适当调整timeout参数。 - 建议将timeout设置为60秒,以确保能够获取到数据,大多数情况下,数据获取时间在10秒以内。 ### 参数: - url: Instagram帖子URL - comment_id: Instagram评论ID - pagination_token: 分页token,第一次请求不需要传值,后续页需要传入上一页的返回值。 ### 返回: - 评论回复数据 # [English] ### Purpose: - Get comment replies by Instagram comment ID - Due to the impact of the backend proxy server, please adjust the timeout parameter appropriately when requesting this interface. - It is recommended to set the timeout to 60 seconds to ensure that the data can be obtained. In most cases, the data acquisition time is within 10 seconds. ### Parameters: - url: Instagram post URL - comment_id: Instagram comment ID - pagination_token: Pagination token, no need to pass value for the first request, pass the return value of the previous page for subsequent pages. ### Return: - Comment replies data # [示例/Example] url = "https://www.instagram.com/p/C3OqtMeRxrV/\" comment_id = "18033049183828491" pagination_token = None
// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.InstagramWebAndAppApiApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: bearer
HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
bearer.setBearerToken("BEARER TOKEN");
InstagramWebAndAppApiApi apiInstance = new InstagramWebAndAppApiApi(defaultClient);
String url = https://www.instagram.com/p/C3OqtMeRxrV/; // String | Instagram帖子URL/Instagram post URL
String commentId = 18033049183828491; // String | Instagram评论ID/Instagram comment ID
String paginationToken = "paginationToken_example"; // String | 分页token/Pagination token
try {
ResponseModel result = apiInstance.fetchCommentRepliesByCommentIdApiV1InstagramWebAppFetchCommentRepliesByCommentIdGet_0(url, commentId, paginationToken);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling InstagramWebAndAppApiApi#fetchCommentRepliesByCommentIdApiV1InstagramWebAppFetchCommentRepliesByCommentIdGet_0");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
url | String | Instagram帖子URL/Instagram post URL | |
commentId | String | Instagram评论ID/Instagram comment ID | |
paginationToken | String | 分页token/Pagination token | [optional] |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Successful Response | - |
422 | Validation Error | - |
ResponseModel fetchGlobalSearchApiV1InstagramWebAppFetchGlobalSearchGet(keyword)
综合搜索/Search all by query
[中文] ### 用途: - 综合搜索 - 由于此接口收到后端代理服务器的影响,请在请求此接口时适当调整timeout参数。 - 建议将timeout设置为60秒,以确保能够获取到数据,大多数情况下,数据获取时间在10秒以内。 ### 参数: - keyword: 关键词 ### 返回: - 搜索结果 # [English] ### Purpose: - Search all by query - Due to the impact of the backend proxy server, please adjust the timeout parameter appropriately when requesting this interface. - It is recommended to set the timeout to 60 seconds to ensure that the data can be obtained. In most cases, the data acquisition time is within 10 seconds. ### Parameters: - keyword: Query ### Return: - Search result # [示例/Example] keyword = "GitHub"
// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.InstagramWebAndAppApiApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: bearer
HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
bearer.setBearerToken("BEARER TOKEN");
InstagramWebAndAppApiApi apiInstance = new InstagramWebAndAppApiApi(defaultClient);
String keyword = GitHub; // String | 关键词/Query
try {
ResponseModel result = apiInstance.fetchGlobalSearchApiV1InstagramWebAppFetchGlobalSearchGet(keyword);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling InstagramWebAndAppApiApi#fetchGlobalSearchApiV1InstagramWebAppFetchGlobalSearchGet");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
keyword | String | 关键词/Query |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Successful Response | - |
422 | Validation Error | - |
ResponseModel fetchGlobalSearchApiV1InstagramWebAppFetchGlobalSearchGet_0(keyword)
综合搜索/Search all by query
[中文] ### 用途: - 综合搜索 - 由于此接口收到后端代理服务器的影响,请在请求此接口时适当调整timeout参数。 - 建议将timeout设置为60秒,以确保能够获取到数据,大多数情况下,数据获取时间在10秒以内。 ### 参数: - keyword: 关键词 ### 返回: - 搜索结果 # [English] ### Purpose: - Search all by query - Due to the impact of the backend proxy server, please adjust the timeout parameter appropriately when requesting this interface. - It is recommended to set the timeout to 60 seconds to ensure that the data can be obtained. In most cases, the data acquisition time is within 10 seconds. ### Parameters: - keyword: Query ### Return: - Search result # [示例/Example] keyword = "GitHub"
// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.InstagramWebAndAppApiApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: bearer
HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
bearer.setBearerToken("BEARER TOKEN");
InstagramWebAndAppApiApi apiInstance = new InstagramWebAndAppApiApi(defaultClient);
String keyword = GitHub; // String | 关键词/Query
try {
ResponseModel result = apiInstance.fetchGlobalSearchApiV1InstagramWebAppFetchGlobalSearchGet_0(keyword);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling InstagramWebAndAppApiApi#fetchGlobalSearchApiV1InstagramWebAppFetchGlobalSearchGet_0");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
keyword | String | 关键词/Query |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Successful Response | - |
422 | Validation Error | - |
ResponseModel fetchHashtagPostsByKeywordApiV1InstagramWebAppFetchHashtagPostsByKeywordGet(keyword, paginationToken, feedType)
根据关键词获取话题帖子/Get hashtag posts by query
[中文] ### 用途: - 根据关键词获取话题帖子 - 由于此接口收到后端代理服务器的影响,请在请求此接口时适当调整timeout参数。 - 建议将timeout设置为60秒,以确保能够获取到数据,大多数情况下,数据获取时间在10秒以内。 ### 参数: - keyword: 关键词 - pagination_token: 翻页游标,用于翻页,第一页不需要传值,后续页需要传入上一页的返回值。 - feed_type: Feed类型 - top: 热门(默认) - recent: 最新 - clips: 快拍 ### 返回: - 话题帖子 # [English] ### Purpose: - Get hashtag posts by query - Due to the impact of the backend proxy server, please adjust the timeout parameter appropriately when requesting this interface. - It is recommended to set the timeout to 60 seconds to ensure that the data can be obtained. In most cases, the data acquisition time is within 10 seconds. ### Parameters: - keyword: Query - pagination_token: Pagination token, used for pagination, no need to pass value for the first page, pass the return value of the previous page for subsequent pages. - feed_type: Feed type - top: Top (default) - recent: Recent (sort by time) - clips: Clips (show only Reels) ### Return: - Hashtag posts # [示例/Example] keyword = "GitHub" pagination_token = None
// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.InstagramWebAndAppApiApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: bearer
HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
bearer.setBearerToken("BEARER TOKEN");
InstagramWebAndAppApiApi apiInstance = new InstagramWebAndAppApiApi(defaultClient);
String keyword = GitHub; // String | 关键词/Query
String paginationToken = "paginationToken_example"; // String | 翻页令牌/Pagination token
String feedType = top; // String | Feed类型/Feed type
try {
ResponseModel result = apiInstance.fetchHashtagPostsByKeywordApiV1InstagramWebAppFetchHashtagPostsByKeywordGet(keyword, paginationToken, feedType);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling InstagramWebAndAppApiApi#fetchHashtagPostsByKeywordApiV1InstagramWebAppFetchHashtagPostsByKeywordGet");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
keyword | String | 关键词/Query | |
paginationToken | String | 翻页令牌/Pagination token | [optional] |
feedType | String | Feed类型/Feed type | [optional] [default to "top"] |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Successful Response | - |
422 | Validation Error | - |
ResponseModel fetchHashtagPostsByKeywordApiV1InstagramWebAppFetchHashtagPostsByKeywordGet_0(keyword, paginationToken, feedType)
根据关键词获取话题帖子/Get hashtag posts by query
[中文] ### 用途: - 根据关键词获取话题帖子 - 由于此接口收到后端代理服务器的影响,请在请求此接口时适当调整timeout参数。 - 建议将timeout设置为60秒,以确保能够获取到数据,大多数情况下,数据获取时间在10秒以内。 ### 参数: - keyword: 关键词 - pagination_token: 翻页游标,用于翻页,第一页不需要传值,后续页需要传入上一页的返回值。 - feed_type: Feed类型 - top: 热门(默认) - recent: 最新 - clips: 快拍 ### 返回: - 话题帖子 # [English] ### Purpose: - Get hashtag posts by query - Due to the impact of the backend proxy server, please adjust the timeout parameter appropriately when requesting this interface. - It is recommended to set the timeout to 60 seconds to ensure that the data can be obtained. In most cases, the data acquisition time is within 10 seconds. ### Parameters: - keyword: Query - pagination_token: Pagination token, used for pagination, no need to pass value for the first page, pass the return value of the previous page for subsequent pages. - feed_type: Feed type - top: Top (default) - recent: Recent (sort by time) - clips: Clips (show only Reels) ### Return: - Hashtag posts # [示例/Example] keyword = "GitHub" pagination_token = None
// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.InstagramWebAndAppApiApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: bearer
HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
bearer.setBearerToken("BEARER TOKEN");
InstagramWebAndAppApiApi apiInstance = new InstagramWebAndAppApiApi(defaultClient);
String keyword = GitHub; // String | 关键词/Query
String paginationToken = "paginationToken_example"; // String | 翻页令牌/Pagination token
String feedType = top; // String | Feed类型/Feed type
try {
ResponseModel result = apiInstance.fetchHashtagPostsByKeywordApiV1InstagramWebAppFetchHashtagPostsByKeywordGet_0(keyword, paginationToken, feedType);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling InstagramWebAndAppApiApi#fetchHashtagPostsByKeywordApiV1InstagramWebAppFetchHashtagPostsByKeywordGet_0");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
keyword | String | 关键词/Query | |
paginationToken | String | 翻页令牌/Pagination token | [optional] |
feedType | String | Feed类型/Feed type | [optional] [default to "top"] |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Successful Response | - |
422 | Validation Error | - |
ResponseModel fetchHighlightsByHighlightIdApiV1InstagramWebAppFetchHighlightsByHighlightIdGet(highlightId)
根据highlights ID获取highlight数据/Get highlights by highlight ID
[中文] ### 用途: - 根据Instagram highlight ID获取highlight数据 - 由于此接口收到后端代理服务器的影响,请在请求此接口时适当调整timeout参数。 - 建议将timeout设置为60秒,以确保能够获取到数据,大多数情况下,数据获取时间在10秒以内。 ### 参数: - highlight_id: Instagram highlight ID ### 返回: - highlight数据 # [English] ### Purpose: - Get highlights by Instagram highlight ID - Due to the impact of the backend proxy server, please adjust the timeout parameter appropriately when requesting this interface. - It is recommended to set the timeout to 60 seconds to ensure that the data can be obtained. In most cases, the data acquisition time is within 10 seconds. ### Parameters: - highlight_id: Instagram highlight ID ### Return: - Highlight data # [示例/Example] highlight_id = "17871373118984285"
// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.InstagramWebAndAppApiApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: bearer
HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
bearer.setBearerToken("BEARER TOKEN");
InstagramWebAndAppApiApi apiInstance = new InstagramWebAndAppApiApi(defaultClient);
String highlightId = 17871373118984285; // String | Instagram highlight ID/Instagram highlight ID
try {
ResponseModel result = apiInstance.fetchHighlightsByHighlightIdApiV1InstagramWebAppFetchHighlightsByHighlightIdGet(highlightId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling InstagramWebAndAppApiApi#fetchHighlightsByHighlightIdApiV1InstagramWebAppFetchHighlightsByHighlightIdGet");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
highlightId | String | Instagram highlight ID/Instagram highlight ID |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Successful Response | - |
422 | Validation Error | - |
ResponseModel fetchHighlightsByHighlightIdApiV1InstagramWebAppFetchHighlightsByHighlightIdGet_0(highlightId)
根据highlights ID获取highlight数据/Get highlights by highlight ID
[中文] ### 用途: - 根据Instagram highlight ID获取highlight数据 - 由于此接口收到后端代理服务器的影响,请在请求此接口时适当调整timeout参数。 - 建议将timeout设置为60秒,以确保能够获取到数据,大多数情况下,数据获取时间在10秒以内。 ### 参数: - highlight_id: Instagram highlight ID ### 返回: - highlight数据 # [English] ### Purpose: - Get highlights by Instagram highlight ID - Due to the impact of the backend proxy server, please adjust the timeout parameter appropriately when requesting this interface. - It is recommended to set the timeout to 60 seconds to ensure that the data can be obtained. In most cases, the data acquisition time is within 10 seconds. ### Parameters: - highlight_id: Instagram highlight ID ### Return: - Highlight data # [示例/Example] highlight_id = "17871373118984285"
// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.InstagramWebAndAppApiApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: bearer
HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
bearer.setBearerToken("BEARER TOKEN");
InstagramWebAndAppApiApi apiInstance = new InstagramWebAndAppApiApi(defaultClient);
String highlightId = 17871373118984285; // String | Instagram highlight ID/Instagram highlight ID
try {
ResponseModel result = apiInstance.fetchHighlightsByHighlightIdApiV1InstagramWebAppFetchHighlightsByHighlightIdGet_0(highlightId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling InstagramWebAndAppApiApi#fetchHighlightsByHighlightIdApiV1InstagramWebAppFetchHighlightsByHighlightIdGet_0");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
highlightId | String | Instagram highlight ID/Instagram highlight ID |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Successful Response | - |
422 | Validation Error | - |
ResponseModel fetchLocationPostsByLocationIdApiV1InstagramWebAppFetchLocationPostsByLocationIdGet(locationId, maxId)
根据地点ID获取地点相关的帖子/Get location posts by location ID
[中文] ### 用途: - 根据Instagram地点ID获取地点相关的帖子 - 由于此接口收到后端代理服务器的影响,请在请求此接口时适当调整timeout参数。 - 建议将timeout设置为60秒,以确保能够获取到数据,大多数情况下,数据获取时间在10秒以内。 ### 参数: - location_id: Instagram地点ID - max_id: 最大ID,用于翻页,第一页不需要传值,后续页需要传入上一页的返回值。 ### 返回: - 地点相关的帖子 # [English] ### Purpose: - Get location posts by Instagram location ID - Due to the impact of the backend proxy server, please adjust the timeout parameter appropriately when requesting this interface. - It is recommended to set the timeout to 60 seconds to ensure that the data can be obtained. In most cases, the data acquisition time is within 10 seconds. ### Parameters: - location_id: Instagram location ID - max_id: Max ID, used for pagination, no need to pass value for the first page, pass the return value of the previous page for subsequent pages. ### Return: - Location posts # [示例/Example] location_id = "115412053922647" max_id = None
// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.InstagramWebAndAppApiApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: bearer
HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
bearer.setBearerToken("BEARER TOKEN");
InstagramWebAndAppApiApi apiInstance = new InstagramWebAndAppApiApi(defaultClient);
String locationId = 115412053922647; // String | Instagram地点ID/Instagram location ID
String maxId = "maxId_example"; // String | 最大ID/Max ID
try {
ResponseModel result = apiInstance.fetchLocationPostsByLocationIdApiV1InstagramWebAppFetchLocationPostsByLocationIdGet(locationId, maxId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling InstagramWebAndAppApiApi#fetchLocationPostsByLocationIdApiV1InstagramWebAppFetchLocationPostsByLocationIdGet");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
locationId | String | Instagram地点ID/Instagram location ID | |
maxId | String | 最大ID/Max ID | [optional] |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Successful Response | - |
422 | Validation Error | - |
ResponseModel fetchLocationPostsByLocationIdApiV1InstagramWebAppFetchLocationPostsByLocationIdGet_0(locationId, maxId)
根据地点ID获取地点相关的帖子/Get location posts by location ID
[中文] ### 用途: - 根据Instagram地点ID获取地点相关的帖子 - 由于此接口收到后端代理服务器的影响,请在请求此接口时适当调整timeout参数。 - 建议将timeout设置为60秒,以确保能够获取到数据,大多数情况下,数据获取时间在10秒以内。 ### 参数: - location_id: Instagram地点ID - max_id: 最大ID,用于翻页,第一页不需要传值,后续页需要传入上一页的返回值。 ### 返回: - 地点相关的帖子 # [English] ### Purpose: - Get location posts by Instagram location ID - Due to the impact of the backend proxy server, please adjust the timeout parameter appropriately when requesting this interface. - It is recommended to set the timeout to 60 seconds to ensure that the data can be obtained. In most cases, the data acquisition time is within 10 seconds. ### Parameters: - location_id: Instagram location ID - max_id: Max ID, used for pagination, no need to pass value for the first page, pass the return value of the previous page for subsequent pages. ### Return: - Location posts # [示例/Example] location_id = "115412053922647" max_id = None
// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.InstagramWebAndAppApiApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: bearer
HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
bearer.setBearerToken("BEARER TOKEN");
InstagramWebAndAppApiApi apiInstance = new InstagramWebAndAppApiApi(defaultClient);
String locationId = 115412053922647; // String | Instagram地点ID/Instagram location ID
String maxId = "maxId_example"; // String | 最大ID/Max ID
try {
ResponseModel result = apiInstance.fetchLocationPostsByLocationIdApiV1InstagramWebAppFetchLocationPostsByLocationIdGet_0(locationId, maxId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling InstagramWebAndAppApiApi#fetchLocationPostsByLocationIdApiV1InstagramWebAppFetchLocationPostsByLocationIdGet_0");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
locationId | String | Instagram地点ID/Instagram location ID | |
maxId | String | 最大ID/Max ID | [optional] |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Successful Response | - |
422 | Validation Error | - |
ResponseModel fetchMusicInfoByMusicIdApiV1InstagramWebAppFetchMusicInfoByMusicIdGet(musicId)
根据音乐ID获取音乐数据/Get music data by music ID
[中文] ### 用途: - 根据Instagram音乐ID获取音乐数据 - 由于此接口收到后端代理服务器的影响,请在请求此接口时适当调整timeout参数。 - 建议将timeout设置为60秒,以确保能够获取到数据,大多数情况下,数据获取时间在10秒以内。 ### 参数: - music_id: Instagram音乐ID ### 返回: - 音乐数据 # [English] ### Purpose: - Get music data by Instagram music ID - Due to the impact of the backend proxy server, please adjust the timeout parameter appropriately when requesting this interface. - It is recommended to set the timeout to 60 seconds to ensure that the data can be obtained. In most cases, the data acquisition time is within 10 seconds. ### Parameters: - music_id: Instagram music ID ### Return: - Music data # [示例/Example] music_id = "841270117005292"
// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.InstagramWebAndAppApiApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: bearer
HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
bearer.setBearerToken("BEARER TOKEN");
InstagramWebAndAppApiApi apiInstance = new InstagramWebAndAppApiApi(defaultClient);
String musicId = 841270117005292; // String | Instagram音乐ID/Instagram music ID
try {
ResponseModel result = apiInstance.fetchMusicInfoByMusicIdApiV1InstagramWebAppFetchMusicInfoByMusicIdGet(musicId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling InstagramWebAndAppApiApi#fetchMusicInfoByMusicIdApiV1InstagramWebAppFetchMusicInfoByMusicIdGet");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
musicId | String | Instagram音乐ID/Instagram music ID |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Successful Response | - |
422 | Validation Error | - |
ResponseModel fetchMusicInfoByMusicIdApiV1InstagramWebAppFetchMusicInfoByMusicIdGet_0(musicId)
根据音乐ID获取音乐数据/Get music data by music ID
[中文] ### 用途: - 根据Instagram音乐ID获取音乐数据 - 由于此接口收到后端代理服务器的影响,请在请求此接口时适当调整timeout参数。 - 建议将timeout设置为60秒,以确保能够获取到数据,大多数情况下,数据获取时间在10秒以内。 ### 参数: - music_id: Instagram音乐ID ### 返回: - 音乐数据 # [English] ### Purpose: - Get music data by Instagram music ID - Due to the impact of the backend proxy server, please adjust the timeout parameter appropriately when requesting this interface. - It is recommended to set the timeout to 60 seconds to ensure that the data can be obtained. In most cases, the data acquisition time is within 10 seconds. ### Parameters: - music_id: Instagram music ID ### Return: - Music data # [示例/Example] music_id = "841270117005292"
// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.InstagramWebAndAppApiApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: bearer
HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
bearer.setBearerToken("BEARER TOKEN");
InstagramWebAndAppApiApi apiInstance = new InstagramWebAndAppApiApi(defaultClient);
String musicId = 841270117005292; // String | Instagram音乐ID/Instagram music ID
try {
ResponseModel result = apiInstance.fetchMusicInfoByMusicIdApiV1InstagramWebAppFetchMusicInfoByMusicIdGet_0(musicId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling InstagramWebAndAppApiApi#fetchMusicInfoByMusicIdApiV1InstagramWebAppFetchMusicInfoByMusicIdGet_0");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
musicId | String | Instagram音乐ID/Instagram music ID |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Successful Response | - |
422 | Validation Error | - |
ResponseModel fetchPostCommentsByUrlApiV1InstagramWebAppFetchPostCommentsByUrlGet(url, paginationToken)
根据URL获取帖子评论数据/Get post comments by URL
[中文] ### 用途: - 根据Instagram帖子URL获取帖子评论数据 - 由于此接口收到后端代理服务器的影响,请在请求此接口时适当调整timeout参数。 - 建议将timeout设置为60秒,以确保能够获取到数据,大多数情况下,数据获取时间在10秒以内。 ### 参数: - url: Instagram帖子URL - pagination_token: 分页token,第一次请求不需要传值,后续页需要传入上一页的返回值。 ### 返回: - 帖子评论数据 # [English] ### Purpose: - Get post comments by Instagram post URL - Due to the impact of the backend proxy server, please adjust the timeout parameter appropriately when requesting this interface. - It is recommended to set the timeout to 60 seconds to ensure that the data can be obtained. In most cases, the data acquisition time is within 10 seconds. ### Parameters: - url: Instagram post URL - pagination_token: Pagination token, no need to pass value for the first request, pass the return value of the previous page for subsequent pages. ### Return: - Post comments data # [示例/Example] url = "https://www.instagram.com/p/C3OqtMeRxrV/\" pagination_token = None
// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.InstagramWebAndAppApiApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: bearer
HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
bearer.setBearerToken("BEARER TOKEN");
InstagramWebAndAppApiApi apiInstance = new InstagramWebAndAppApiApi(defaultClient);
String url = https://www.instagram.com/p/C3OqtMeRxrV/; // String | Instagram帖子URL/Instagram post URL
String paginationToken = "paginationToken_example"; // String | 分页token/Pagination token
try {
ResponseModel result = apiInstance.fetchPostCommentsByUrlApiV1InstagramWebAppFetchPostCommentsByUrlGet(url, paginationToken);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling InstagramWebAndAppApiApi#fetchPostCommentsByUrlApiV1InstagramWebAppFetchPostCommentsByUrlGet");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
url | String | Instagram帖子URL/Instagram post URL | |
paginationToken | String | 分页token/Pagination token | [optional] |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Successful Response | - |
422 | Validation Error | - |
ResponseModel fetchPostCommentsByUrlApiV1InstagramWebAppFetchPostCommentsByUrlGet_0(url, paginationToken)
根据URL获取帖子评论数据/Get post comments by URL
[中文] ### 用途: - 根据Instagram帖子URL获取帖子评论数据 - 由于此接口收到后端代理服务器的影响,请在请求此接口时适当调整timeout参数。 - 建议将timeout设置为60秒,以确保能够获取到数据,大多数情况下,数据获取时间在10秒以内。 ### 参数: - url: Instagram帖子URL - pagination_token: 分页token,第一次请求不需要传值,后续页需要传入上一页的返回值。 ### 返回: - 帖子评论数据 # [English] ### Purpose: - Get post comments by Instagram post URL - Due to the impact of the backend proxy server, please adjust the timeout parameter appropriately when requesting this interface. - It is recommended to set the timeout to 60 seconds to ensure that the data can be obtained. In most cases, the data acquisition time is within 10 seconds. ### Parameters: - url: Instagram post URL - pagination_token: Pagination token, no need to pass value for the first request, pass the return value of the previous page for subsequent pages. ### Return: - Post comments data # [示例/Example] url = "https://www.instagram.com/p/C3OqtMeRxrV/\" pagination_token = None
// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.InstagramWebAndAppApiApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: bearer
HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
bearer.setBearerToken("BEARER TOKEN");
InstagramWebAndAppApiApi apiInstance = new InstagramWebAndAppApiApi(defaultClient);
String url = https://www.instagram.com/p/C3OqtMeRxrV/; // String | Instagram帖子URL/Instagram post URL
String paginationToken = "paginationToken_example"; // String | 分页token/Pagination token
try {
ResponseModel result = apiInstance.fetchPostCommentsByUrlApiV1InstagramWebAppFetchPostCommentsByUrlGet_0(url, paginationToken);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling InstagramWebAndAppApiApi#fetchPostCommentsByUrlApiV1InstagramWebAppFetchPostCommentsByUrlGet_0");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
url | String | Instagram帖子URL/Instagram post URL | |
paginationToken | String | 分页token/Pagination token | [optional] |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Successful Response | - |
422 | Validation Error | - |
ResponseModel fetchPostInfoByPostIdApiV1InstagramWebAppFetchPostInfoByPostIdGet(postId)
根据帖子ID获取帖子数据/Get post data by post ID
[中文] ### 用途: - 根据Instagram帖子ID获取帖子数据 - 由于此接口收到后端代理服务器的影响,请在请求此接口时适当调整timeout参数。 - 建议将timeout设置为60秒,以确保能够获取到数据,大多数情况下,数据获取时间在10秒以内。 ### 参数: - post_id: Instagram帖子ID ### 返回: - 帖子数据 # [English] ### Purpose: - Get post data by Instagram post ID - Due to the impact of the backend proxy server, please adjust the timeout parameter appropriately when requesting this interface. - It is recommended to set the timeout to 60 seconds to ensure that the data can be obtained. In most cases, the data acquisition time is within 10 seconds. ### Parameters: - post_id: Instagram post ID ### Return: - Post data # [示例/Example] post_id = "3369328379222099122"
// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.InstagramWebAndAppApiApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: bearer
HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
bearer.setBearerToken("BEARER TOKEN");
InstagramWebAndAppApiApi apiInstance = new InstagramWebAndAppApiApi(defaultClient);
String postId = 3369328379222099122; // String | Instagram帖子ID/Instagram post ID
try {
ResponseModel result = apiInstance.fetchPostInfoByPostIdApiV1InstagramWebAppFetchPostInfoByPostIdGet(postId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling InstagramWebAndAppApiApi#fetchPostInfoByPostIdApiV1InstagramWebAppFetchPostInfoByPostIdGet");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
postId | String | Instagram帖子ID/Instagram post ID |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Successful Response | - |
422 | Validation Error | - |
ResponseModel fetchPostInfoByPostIdApiV1InstagramWebAppFetchPostInfoByPostIdGet_0(postId)
根据帖子ID获取帖子数据/Get post data by post ID
[中文] ### 用途: - 根据Instagram帖子ID获取帖子数据 - 由于此接口收到后端代理服务器的影响,请在请求此接口时适当调整timeout参数。 - 建议将timeout设置为60秒,以确保能够获取到数据,大多数情况下,数据获取时间在10秒以内。 ### 参数: - post_id: Instagram帖子ID ### 返回: - 帖子数据 # [English] ### Purpose: - Get post data by Instagram post ID - Due to the impact of the backend proxy server, please adjust the timeout parameter appropriately when requesting this interface. - It is recommended to set the timeout to 60 seconds to ensure that the data can be obtained. In most cases, the data acquisition time is within 10 seconds. ### Parameters: - post_id: Instagram post ID ### Return: - Post data # [示例/Example] post_id = "3369328379222099122"
// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.InstagramWebAndAppApiApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: bearer
HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
bearer.setBearerToken("BEARER TOKEN");
InstagramWebAndAppApiApi apiInstance = new InstagramWebAndAppApiApi(defaultClient);
String postId = 3369328379222099122; // String | Instagram帖子ID/Instagram post ID
try {
ResponseModel result = apiInstance.fetchPostInfoByPostIdApiV1InstagramWebAppFetchPostInfoByPostIdGet_0(postId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling InstagramWebAndAppApiApi#fetchPostInfoByPostIdApiV1InstagramWebAppFetchPostInfoByPostIdGet_0");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
postId | String | Instagram帖子ID/Instagram post ID |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Successful Response | - |
422 | Validation Error | - |
ResponseModel fetchPostInfoByUrlApiV1InstagramWebAppFetchPostInfoByUrlGet(url)
根据URL获取帖子数据/Get post data by URL
[中文] ### 用途: - 根据Instagram帖子URL获取帖子数据 - 由于此接口收到后端代理服务器的影响,请在请求此接口时适当调整timeout参数。 - 建议将timeout设置为60秒,以确保能够获取到数据,大多数情况下,数据获取时间在10秒以内。 ### 参数: - url: Instagram帖子URL ### 返回: - 帖子数据 # [English] ### Purpose: - Get post data by Instagram post URL - Due to the impact of the backend proxy server, please adjust the timeout parameter appropriately when requesting this interface. - It is recommended to set the timeout to 60 seconds to ensure that the data can be obtained. In most cases, the data acquisition time is within 10 seconds. ### Parameters: - url: Instagram post URL ### Return: - Post data # [示例/Example] url = "https://www.instagram.com/p/C7CQk83LQSy/\"
// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.InstagramWebAndAppApiApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: bearer
HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
bearer.setBearerToken("BEARER TOKEN");
InstagramWebAndAppApiApi apiInstance = new InstagramWebAndAppApiApi(defaultClient);
String url = https://www.instagram.com/p/C7CQk83LQSy/; // String | Instagram帖子URL/Instagram post URL
try {
ResponseModel result = apiInstance.fetchPostInfoByUrlApiV1InstagramWebAppFetchPostInfoByUrlGet(url);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling InstagramWebAndAppApiApi#fetchPostInfoByUrlApiV1InstagramWebAppFetchPostInfoByUrlGet");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
url | String | Instagram帖子URL/Instagram post URL |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Successful Response | - |
422 | Validation Error | - |
ResponseModel fetchPostInfoByUrlApiV1InstagramWebAppFetchPostInfoByUrlGet_0(url)
根据URL获取帖子数据/Get post data by URL
[中文] ### 用途: - 根据Instagram帖子URL获取帖子数据 - 由于此接口收到后端代理服务器的影响,请在请求此接口时适当调整timeout参数。 - 建议将timeout设置为60秒,以确保能够获取到数据,大多数情况下,数据获取时间在10秒以内。 ### 参数: - url: Instagram帖子URL ### 返回: - 帖子数据 # [English] ### Purpose: - Get post data by Instagram post URL - Due to the impact of the backend proxy server, please adjust the timeout parameter appropriately when requesting this interface. - It is recommended to set the timeout to 60 seconds to ensure that the data can be obtained. In most cases, the data acquisition time is within 10 seconds. ### Parameters: - url: Instagram post URL ### Return: - Post data # [示例/Example] url = "https://www.instagram.com/p/C7CQk83LQSy/\"
// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.InstagramWebAndAppApiApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: bearer
HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
bearer.setBearerToken("BEARER TOKEN");
InstagramWebAndAppApiApi apiInstance = new InstagramWebAndAppApiApi(defaultClient);
String url = https://www.instagram.com/p/C7CQk83LQSy/; // String | Instagram帖子URL/Instagram post URL
try {
ResponseModel result = apiInstance.fetchPostInfoByUrlApiV1InstagramWebAppFetchPostInfoByUrlGet_0(url);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling InstagramWebAndAppApiApi#fetchPostInfoByUrlApiV1InstagramWebAppFetchPostInfoByUrlGet_0");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
url | String | Instagram帖子URL/Instagram post URL |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Successful Response | - |
422 | Validation Error | - |
ResponseModel fetchPostLikesByUrlApiV1InstagramWebAppFetchPostLikesByUrlGet(url)
根据URL获取帖子点赞数据/Get post likes by URL
[中文] ### 用途: - 根据Instagram帖子URL获取帖子点赞数据 - 由于此接口收到后端代理服务器的影响,请在请求此接口时适当调整timeout参数。 - 建议将timeout设置为60秒,以确保能够获取到数据,大多数情况下,数据获取时间在10秒以内。 ### 参数: - url: Instagram帖子URL ### 返回: - 帖子点赞数据 # [English] ### Purpose: - Get post likes by Instagram post URL - Due to the impact of the backend proxy server, please adjust the timeout parameter appropriately when requesting this interface. - It is recommended to set the timeout to 60 seconds to ensure that the data can be obtained. In most cases, the data acquisition time is within 10 seconds. ### Parameters: - url: Instagram post URL ### Return: - Post likes data # [示例/Example] url = "https://www.instagram.com/p/C3OqtMeRxrV/\"
// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.InstagramWebAndAppApiApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: bearer
HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
bearer.setBearerToken("BEARER TOKEN");
InstagramWebAndAppApiApi apiInstance = new InstagramWebAndAppApiApi(defaultClient);
String url = https://www.instagram.com/p/C3OqtMeRxrV/; // String | Instagram帖子URL/Instagram post URL
try {
ResponseModel result = apiInstance.fetchPostLikesByUrlApiV1InstagramWebAppFetchPostLikesByUrlGet(url);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling InstagramWebAndAppApiApi#fetchPostLikesByUrlApiV1InstagramWebAppFetchPostLikesByUrlGet");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
url | String | Instagram帖子URL/Instagram post URL |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Successful Response | - |
422 | Validation Error | - |
ResponseModel fetchPostLikesByUrlApiV1InstagramWebAppFetchPostLikesByUrlGet_0(url)
根据URL获取帖子点赞数据/Get post likes by URL
[中文] ### 用途: - 根据Instagram帖子URL获取帖子点赞数据 - 由于此接口收到后端代理服务器的影响,请在请求此接口时适当调整timeout参数。 - 建议将timeout设置为60秒,以确保能够获取到数据,大多数情况下,数据获取时间在10秒以内。 ### 参数: - url: Instagram帖子URL ### 返回: - 帖子点赞数据 # [English] ### Purpose: - Get post likes by Instagram post URL - Due to the impact of the backend proxy server, please adjust the timeout parameter appropriately when requesting this interface. - It is recommended to set the timeout to 60 seconds to ensure that the data can be obtained. In most cases, the data acquisition time is within 10 seconds. ### Parameters: - url: Instagram post URL ### Return: - Post likes data # [示例/Example] url = "https://www.instagram.com/p/C3OqtMeRxrV/\"
// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.InstagramWebAndAppApiApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: bearer
HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
bearer.setBearerToken("BEARER TOKEN");
InstagramWebAndAppApiApi apiInstance = new InstagramWebAndAppApiApi(defaultClient);
String url = https://www.instagram.com/p/C3OqtMeRxrV/; // String | Instagram帖子URL/Instagram post URL
try {
ResponseModel result = apiInstance.fetchPostLikesByUrlApiV1InstagramWebAppFetchPostLikesByUrlGet_0(url);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling InstagramWebAndAppApiApi#fetchPostLikesByUrlApiV1InstagramWebAppFetchPostLikesByUrlGet_0");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
url | String | Instagram帖子URL/Instagram post URL |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Successful Response | - |
422 | Validation Error | - |
ResponseModel fetchPostMediaByUrlApiV1InstagramWebAppFetchPostMediaByUrlGet(url)
根据帖子URL获取媒体数据/Get media data by URL
[中文] ### 用途: - 根据Instagram帖子URL获取媒体数据 - 由于此接口收到后端代理服务器的影响,请在请求此接口时适当调整timeout参数。 - 建议将timeout设置为60秒,以确保能够获取到数据,大多数情况下,数据获取时间在10秒以内。 ### 参数: - url: Instagram帖子URL ### 返回: - 媒体数据 # [English] ### Purpose: - Get media data by Instagram post URL - Due to the impact of the backend proxy server, please adjust the timeout parameter appropriately when requesting this interface. - It is recommended to set the timeout to 60 seconds to ensure that the data can be obtained. In most cases, the data acquisition time is within 10 seconds. ### Parameters: - url: Instagram post URL ### Return: - Media data # [示例/Example] url = "https://www.instagram.com/p/C7CQk83LQSy/\"
// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.InstagramWebAndAppApiApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: bearer
HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
bearer.setBearerToken("BEARER TOKEN");
InstagramWebAndAppApiApi apiInstance = new InstagramWebAndAppApiApi(defaultClient);
String url = https://www.instagram.com/p/C7CQk83LQSy/; // String | Instagram帖子URL/Instagram post URL
try {
ResponseModel result = apiInstance.fetchPostMediaByUrlApiV1InstagramWebAppFetchPostMediaByUrlGet(url);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling InstagramWebAndAppApiApi#fetchPostMediaByUrlApiV1InstagramWebAppFetchPostMediaByUrlGet");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
url | String | Instagram帖子URL/Instagram post URL |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Successful Response | - |
422 | Validation Error | - |
ResponseModel fetchPostMediaByUrlApiV1InstagramWebAppFetchPostMediaByUrlGet_0(url)
根据帖子URL获取媒体数据/Get media data by URL
[中文] ### 用途: - 根据Instagram帖子URL获取媒体数据 - 由于此接口收到后端代理服务器的影响,请在请求此接口时适当调整timeout参数。 - 建议将timeout设置为60秒,以确保能够获取到数据,大多数情况下,数据获取时间在10秒以内。 ### 参数: - url: Instagram帖子URL ### 返回: - 媒体数据 # [English] ### Purpose: - Get media data by Instagram post URL - Due to the impact of the backend proxy server, please adjust the timeout parameter appropriately when requesting this interface. - It is recommended to set the timeout to 60 seconds to ensure that the data can be obtained. In most cases, the data acquisition time is within 10 seconds. ### Parameters: - url: Instagram post URL ### Return: - Media data # [示例/Example] url = "https://www.instagram.com/p/C7CQk83LQSy/\"
// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.InstagramWebAndAppApiApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: bearer
HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
bearer.setBearerToken("BEARER TOKEN");
InstagramWebAndAppApiApi apiInstance = new InstagramWebAndAppApiApi(defaultClient);
String url = https://www.instagram.com/p/C7CQk83LQSy/; // String | Instagram帖子URL/Instagram post URL
try {
ResponseModel result = apiInstance.fetchPostMediaByUrlApiV1InstagramWebAppFetchPostMediaByUrlGet_0(url);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling InstagramWebAndAppApiApi#fetchPostMediaByUrlApiV1InstagramWebAppFetchPostMediaByUrlGet_0");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
url | String | Instagram帖子URL/Instagram post URL |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Successful Response | - |
422 | Validation Error | - |
ResponseModel fetchRelatedUsersByUserIdApiV1InstagramWebAppFetchRelatedUsersByUserIdGet(userId)
根据用户ID获取与用户相关的其他用户/Get user related users by user ID
[中文] ### 用途: - 根据Instagram用户ID获取与用户相关的其他用户 - 由于此接口收到后端代理服务器的影响,请在请求此接口时适当调整timeout参数。 - 建议将timeout设置为60秒,以确保能够获取到数据,大多数情况下,数据获取时间在10秒以内。 ### 参数: - user_id: Instagram用户ID ### 返回: - 与用户相关的其他用户 # [English] ### Purpose: - Get user related users by Instagram user ID - Due to the impact of the backend proxy server, please adjust the timeout parameter appropriately when requesting this interface. - It is recommended to set the timeout to 60 seconds to ensure that the data can be obtained. In most cases, the data acquisition time is within 10 seconds. ### Parameters: - user_id: Instagram user ID ### Return: - User related users # [示例/Example] user_id = "25025320"
// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.InstagramWebAndAppApiApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: bearer
HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
bearer.setBearerToken("BEARER TOKEN");
InstagramWebAndAppApiApi apiInstance = new InstagramWebAndAppApiApi(defaultClient);
String userId = 25025320; // String | Instagram用户ID/Instagram user ID
try {
ResponseModel result = apiInstance.fetchRelatedUsersByUserIdApiV1InstagramWebAppFetchRelatedUsersByUserIdGet(userId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling InstagramWebAndAppApiApi#fetchRelatedUsersByUserIdApiV1InstagramWebAppFetchRelatedUsersByUserIdGet");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
userId | String | Instagram用户ID/Instagram user ID |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Successful Response | - |
422 | Validation Error | - |
ResponseModel fetchRelatedUsersByUserIdApiV1InstagramWebAppFetchRelatedUsersByUserIdGet_0(userId)
根据用户ID获取与用户相关的其他用户/Get user related users by user ID
[中文] ### 用途: - 根据Instagram用户ID获取与用户相关的其他用户 - 由于此接口收到后端代理服务器的影响,请在请求此接口时适当调整timeout参数。 - 建议将timeout设置为60秒,以确保能够获取到数据,大多数情况下,数据获取时间在10秒以内。 ### 参数: - user_id: Instagram用户ID ### 返回: - 与用户相关的其他用户 # [English] ### Purpose: - Get user related users by Instagram user ID - Due to the impact of the backend proxy server, please adjust the timeout parameter appropriately when requesting this interface. - It is recommended to set the timeout to 60 seconds to ensure that the data can be obtained. In most cases, the data acquisition time is within 10 seconds. ### Parameters: - user_id: Instagram user ID ### Return: - User related users # [示例/Example] user_id = "25025320"
// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.InstagramWebAndAppApiApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: bearer
HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
bearer.setBearerToken("BEARER TOKEN");
InstagramWebAndAppApiApi apiInstance = new InstagramWebAndAppApiApi(defaultClient);
String userId = 25025320; // String | Instagram用户ID/Instagram user ID
try {
ResponseModel result = apiInstance.fetchRelatedUsersByUserIdApiV1InstagramWebAppFetchRelatedUsersByUserIdGet_0(userId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling InstagramWebAndAppApiApi#fetchRelatedUsersByUserIdApiV1InstagramWebAppFetchRelatedUsersByUserIdGet_0");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
userId | String | Instagram用户ID/Instagram user ID |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Successful Response | - |
422 | Validation Error | - |
ResponseModel fetchSearchHashtagsByKeywordApiV1InstagramWebAppFetchSearchHashtagsByKeywordGet(keyword)
根据关键词搜索话题数据/Search hashtags by query
[中文] ### 用途: - 根据关键词搜索话题数据 - 由于此接口收到后端代理服务器的影响,请在请求此接口时适当调整timeout参数。 - 建议将timeout设置为60秒,以确保能够获取到数据,大多数情况下,数据获取时间在10秒以内。 ### 参数: - keyword: 关键词 ### 返回: - 搜索结果 # [English] ### Purpose: - Search hashtags by query - Due to the impact of the backend proxy server, please adjust the timeout parameter appropriately when requesting this interface. - It is recommended to set the timeout to 60 seconds to ensure that the data can be obtained. In most cases, the data acquisition time is within 10 seconds. ### Parameters: - keyword: Query ### Return: - Search result # [示例/Example] keyword = "GitHub"
// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.InstagramWebAndAppApiApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: bearer
HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
bearer.setBearerToken("BEARER TOKEN");
InstagramWebAndAppApiApi apiInstance = new InstagramWebAndAppApiApi(defaultClient);
String keyword = GitHub; // String | 关键词/Query
try {
ResponseModel result = apiInstance.fetchSearchHashtagsByKeywordApiV1InstagramWebAppFetchSearchHashtagsByKeywordGet(keyword);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling InstagramWebAndAppApiApi#fetchSearchHashtagsByKeywordApiV1InstagramWebAppFetchSearchHashtagsByKeywordGet");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
keyword | String | 关键词/Query |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Successful Response | - |
422 | Validation Error | - |
ResponseModel fetchSearchHashtagsByKeywordApiV1InstagramWebAppFetchSearchHashtagsByKeywordGet_0(keyword)
根据关键词搜索话题数据/Search hashtags by query
[中文] ### 用途: - 根据关键词搜索话题数据 - 由于此接口收到后端代理服务器的影响,请在请求此接口时适当调整timeout参数。 - 建议将timeout设置为60秒,以确保能够获取到数据,大多数情况下,数据获取时间在10秒以内。 ### 参数: - keyword: 关键词 ### 返回: - 搜索结果 # [English] ### Purpose: - Search hashtags by query - Due to the impact of the backend proxy server, please adjust the timeout parameter appropriately when requesting this interface. - It is recommended to set the timeout to 60 seconds to ensure that the data can be obtained. In most cases, the data acquisition time is within 10 seconds. ### Parameters: - keyword: Query ### Return: - Search result # [示例/Example] keyword = "GitHub"
// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.InstagramWebAndAppApiApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: bearer
HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
bearer.setBearerToken("BEARER TOKEN");
InstagramWebAndAppApiApi apiInstance = new InstagramWebAndAppApiApi(defaultClient);
String keyword = GitHub; // String | 关键词/Query
try {
ResponseModel result = apiInstance.fetchSearchHashtagsByKeywordApiV1InstagramWebAppFetchSearchHashtagsByKeywordGet_0(keyword);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling InstagramWebAndAppApiApi#fetchSearchHashtagsByKeywordApiV1InstagramWebAppFetchSearchHashtagsByKeywordGet_0");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
keyword | String | 关键词/Query |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Successful Response | - |
422 | Validation Error | - |
ResponseModel fetchSearchLocationsByKeywordApiV1InstagramWebAppFetchSearchLocationsByKeywordGet(keyword)
根据关键词搜索地点数据/Search locations by query
[中文] ### 用途: - 根据关键词搜索地点数据 - 由于此接口收到后端代理服务器的影响,请在请求此接口时适当调整timeout参数。 - 建议将timeout设置为60秒,以确保能够获取到数据,大多数情况下,数据获取时间在10秒以内。 ### 参数: - keyword: 关键词 ### 返回: - 搜索结果 # [English] ### Purpose: - Search locations by query - Due to the impact of the backend proxy server, please adjust the timeout parameter appropriately when requesting this interface. - It is recommended to set the timeout to 60 seconds to ensure that the data can be obtained. In most cases, the data acquisition time is within 10 seconds. ### Parameters: - keyword: Query ### Return: - Search result # [示例/Example] keyword = "ShangHai"
// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.InstagramWebAndAppApiApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: bearer
HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
bearer.setBearerToken("BEARER TOKEN");
InstagramWebAndAppApiApi apiInstance = new InstagramWebAndAppApiApi(defaultClient);
String keyword = ShangHai; // String | 关键词/Query
try {
ResponseModel result = apiInstance.fetchSearchLocationsByKeywordApiV1InstagramWebAppFetchSearchLocationsByKeywordGet(keyword);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling InstagramWebAndAppApiApi#fetchSearchLocationsByKeywordApiV1InstagramWebAppFetchSearchLocationsByKeywordGet");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
keyword | String | 关键词/Query |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Successful Response | - |
422 | Validation Error | - |
ResponseModel fetchSearchLocationsByKeywordApiV1InstagramWebAppFetchSearchLocationsByKeywordGet_0(keyword)
根据关键词搜索地点数据/Search locations by query
[中文] ### 用途: - 根据关键词搜索地点数据 - 由于此接口收到后端代理服务器的影响,请在请求此接口时适当调整timeout参数。 - 建议将timeout设置为60秒,以确保能够获取到数据,大多数情况下,数据获取时间在10秒以内。 ### 参数: - keyword: 关键词 ### 返回: - 搜索结果 # [English] ### Purpose: - Search locations by query - Due to the impact of the backend proxy server, please adjust the timeout parameter appropriately when requesting this interface. - It is recommended to set the timeout to 60 seconds to ensure that the data can be obtained. In most cases, the data acquisition time is within 10 seconds. ### Parameters: - keyword: Query ### Return: - Search result # [示例/Example] keyword = "ShangHai"
// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.InstagramWebAndAppApiApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: bearer
HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
bearer.setBearerToken("BEARER TOKEN");
InstagramWebAndAppApiApi apiInstance = new InstagramWebAndAppApiApi(defaultClient);
String keyword = ShangHai; // String | 关键词/Query
try {
ResponseModel result = apiInstance.fetchSearchLocationsByKeywordApiV1InstagramWebAppFetchSearchLocationsByKeywordGet_0(keyword);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling InstagramWebAndAppApiApi#fetchSearchLocationsByKeywordApiV1InstagramWebAppFetchSearchLocationsByKeywordGet_0");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
keyword | String | 关键词/Query |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Successful Response | - |
422 | Validation Error | - |
ResponseModel fetchSearchUsersByKeywordApiV1InstagramWebAppFetchSearchUsersByKeywordGet(keyword)
根据关键词搜索用户/Search users by query
[中文] ### 用途: - 根据关键词搜索用户 - 由于此接口收到后端代理服务器的影响,请在请求此接口时适当调整timeout参数。 - 建议将timeout设置为60秒,以确保能够获取到数据,大多数情况下,数据获取时间在10秒以内。 ### 参数: - keyword: 关键词 ### 返回: - 搜索结果 # [English] ### Purpose: - Search users by query - Due to the impact of the backend proxy server, please adjust the timeout parameter appropriately when requesting this interface. - It is recommended to set the timeout to 60 seconds to ensure that the data can be obtained. In most cases, the data acquisition time is within 10 seconds. ### Parameters: - keyword: Query ### Return: - Search result # [示例/Example] keyword = "instagram"
// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.InstagramWebAndAppApiApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: bearer
HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
bearer.setBearerToken("BEARER TOKEN");
InstagramWebAndAppApiApi apiInstance = new InstagramWebAndAppApiApi(defaultClient);
String keyword = instagram; // String | 关键词/Query
try {
ResponseModel result = apiInstance.fetchSearchUsersByKeywordApiV1InstagramWebAppFetchSearchUsersByKeywordGet(keyword);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling InstagramWebAndAppApiApi#fetchSearchUsersByKeywordApiV1InstagramWebAppFetchSearchUsersByKeywordGet");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
keyword | String | 关键词/Query |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Successful Response | - |
422 | Validation Error | - |
ResponseModel fetchSearchUsersByKeywordApiV1InstagramWebAppFetchSearchUsersByKeywordGet_0(keyword)
根据关键词搜索用户/Search users by query
[中文] ### 用途: - 根据关键词搜索用户 - 由于此接口收到后端代理服务器的影响,请在请求此接口时适当调整timeout参数。 - 建议将timeout设置为60秒,以确保能够获取到数据,大多数情况下,数据获取时间在10秒以内。 ### 参数: - keyword: 关键词 ### 返回: - 搜索结果 # [English] ### Purpose: - Search users by query - Due to the impact of the backend proxy server, please adjust the timeout parameter appropriately when requesting this interface. - It is recommended to set the timeout to 60 seconds to ensure that the data can be obtained. In most cases, the data acquisition time is within 10 seconds. ### Parameters: - keyword: Query ### Return: - Search result # [示例/Example] keyword = "instagram"
// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.InstagramWebAndAppApiApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: bearer
HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
bearer.setBearerToken("BEARER TOKEN");
InstagramWebAndAppApiApi apiInstance = new InstagramWebAndAppApiApi(defaultClient);
String keyword = instagram; // String | 关键词/Query
try {
ResponseModel result = apiInstance.fetchSearchUsersByKeywordApiV1InstagramWebAppFetchSearchUsersByKeywordGet_0(keyword);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling InstagramWebAndAppApiApi#fetchSearchUsersByKeywordApiV1InstagramWebAppFetchSearchUsersByKeywordGet_0");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
keyword | String | 关键词/Query |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Successful Response | - |
422 | Validation Error | - |
ResponseModel fetchSimilarAccountsByUsernameApiV1InstagramWebAppFetchSimilarAccountsByUsernameGet(username)
根据用户名获取相似的账户数据/Get similar accounts by username
[中文] ### 用途: - 根据Instagram用户名获取相似的账户数据 - 由于此接口收到后端代理服务器的影响,请在请求此接口时适当调整timeout参数。 - 建议将timeout设置为60秒,以确保能够获取到数据,大多数情况下,数据获取时间在10秒以内。 ### 参数: - username: Instagram用户名 ### 返回: - 相似的账户数据 # [English] ### Purpose: - Get similar accounts by Instagram username - Due to the impact of the backend proxy server, please adjust the timeout parameter appropriately when requesting this interface. - It is recommended to set the timeout to 60 seconds to ensure that the data can be obtained. In most cases, the data acquisition time is within 10 seconds. ### Parameters: - username: Instagram username ### Return: - Similar accounts # [示例/Example] username = "daily_fuck_people"
// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.InstagramWebAndAppApiApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: bearer
HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
bearer.setBearerToken("BEARER TOKEN");
InstagramWebAndAppApiApi apiInstance = new InstagramWebAndAppApiApi(defaultClient);
String username = daily_fuck_people; // String | Instagram用户名/Instagram username
try {
ResponseModel result = apiInstance.fetchSimilarAccountsByUsernameApiV1InstagramWebAppFetchSimilarAccountsByUsernameGet(username);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling InstagramWebAndAppApiApi#fetchSimilarAccountsByUsernameApiV1InstagramWebAppFetchSimilarAccountsByUsernameGet");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
username | String | Instagram用户名/Instagram username |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Successful Response | - |
422 | Validation Error | - |
ResponseModel fetchSimilarAccountsByUsernameApiV1InstagramWebAppFetchSimilarAccountsByUsernameGet_0(username)
根据用户名获取相似的账户数据/Get similar accounts by username
[中文] ### 用途: - 根据Instagram用户名获取相似的账户数据 - 由于此接口收到后端代理服务器的影响,请在请求此接口时适当调整timeout参数。 - 建议将timeout设置为60秒,以确保能够获取到数据,大多数情况下,数据获取时间在10秒以内。 ### 参数: - username: Instagram用户名 ### 返回: - 相似的账户数据 # [English] ### Purpose: - Get similar accounts by Instagram username - Due to the impact of the backend proxy server, please adjust the timeout parameter appropriately when requesting this interface. - It is recommended to set the timeout to 60 seconds to ensure that the data can be obtained. In most cases, the data acquisition time is within 10 seconds. ### Parameters: - username: Instagram username ### Return: - Similar accounts # [示例/Example] username = "daily_fuck_people"
// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.InstagramWebAndAppApiApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: bearer
HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
bearer.setBearerToken("BEARER TOKEN");
InstagramWebAndAppApiApi apiInstance = new InstagramWebAndAppApiApi(defaultClient);
String username = daily_fuck_people; // String | Instagram用户名/Instagram username
try {
ResponseModel result = apiInstance.fetchSimilarAccountsByUsernameApiV1InstagramWebAppFetchSimilarAccountsByUsernameGet_0(username);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling InstagramWebAndAppApiApi#fetchSimilarAccountsByUsernameApiV1InstagramWebAppFetchSimilarAccountsByUsernameGet_0");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
username | String | Instagram用户名/Instagram username |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Successful Response | - |
422 | Validation Error | - |
ResponseModel fetchUserAboutInfoByIdApiV1InstagramWebAppFetchUserAboutInfoByUserIdGet(userId)
根据用户ID获取用户数据关于信息/Get user data about by user ID
[中文] ### 用途: - 根据Instagram用户ID获取用户数据关于信息 - 由于此接口收到后端代理服务器的影响,请在请求此接口时适当调整timeout参数。 - 建议将timeout设置为60秒,以确保能够获取到数据,大多数情况下,数据获取时间在10秒以内。 ### 参数: - user_id: Instagram用户ID ### 返回: - 用户数据关于信息 # [English] ### Purpose: - Get user data about by Instagram user ID - Due to the impact of the backend proxy server, please adjust the timeout parameter appropriately when requesting this interface. - It is recommended to set the timeout to 60 seconds to ensure that the data can be obtained. In most cases, the data acquisition time is within 10 seconds. ### Parameters: - user_id: Instagram user ID ### Return: - User data about # [示例/Example] user_id = "25025320"
// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.InstagramWebAndAppApiApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: bearer
HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
bearer.setBearerToken("BEARER TOKEN");
InstagramWebAndAppApiApi apiInstance = new InstagramWebAndAppApiApi(defaultClient);
String userId = 25025320; // String | Instagram用户ID/Instagram user ID
try {
ResponseModel result = apiInstance.fetchUserAboutInfoByIdApiV1InstagramWebAppFetchUserAboutInfoByUserIdGet(userId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling InstagramWebAndAppApiApi#fetchUserAboutInfoByIdApiV1InstagramWebAppFetchUserAboutInfoByUserIdGet");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
userId | String | Instagram用户ID/Instagram user ID |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Successful Response | - |
422 | Validation Error | - |
ResponseModel fetchUserAboutInfoByIdApiV1InstagramWebAppFetchUserAboutInfoByUserIdGet_0(userId)
根据用户ID获取用户数据关于信息/Get user data about by user ID
[中文] ### 用途: - 根据Instagram用户ID获取用户数据关于信息 - 由于此接口收到后端代理服务器的影响,请在请求此接口时适当调整timeout参数。 - 建议将timeout设置为60秒,以确保能够获取到数据,大多数情况下,数据获取时间在10秒以内。 ### 参数: - user_id: Instagram用户ID ### 返回: - 用户数据关于信息 # [English] ### Purpose: - Get user data about by Instagram user ID - Due to the impact of the backend proxy server, please adjust the timeout parameter appropriately when requesting this interface. - It is recommended to set the timeout to 60 seconds to ensure that the data can be obtained. In most cases, the data acquisition time is within 10 seconds. ### Parameters: - user_id: Instagram user ID ### Return: - User data about # [示例/Example] user_id = "25025320"
// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.InstagramWebAndAppApiApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: bearer
HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
bearer.setBearerToken("BEARER TOKEN");
InstagramWebAndAppApiApi apiInstance = new InstagramWebAndAppApiApi(defaultClient);
String userId = 25025320; // String | Instagram用户ID/Instagram user ID
try {
ResponseModel result = apiInstance.fetchUserAboutInfoByIdApiV1InstagramWebAppFetchUserAboutInfoByUserIdGet_0(userId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling InstagramWebAndAppApiApi#fetchUserAboutInfoByIdApiV1InstagramWebAppFetchUserAboutInfoByUserIdGet_0");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
userId | String | Instagram用户ID/Instagram user ID |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Successful Response | - |
422 | Validation Error | - |
ResponseModel fetchUserFollowersByUsernameApiV1InstagramWebAppFetchUserFollowersByUsernameGet(username, paginationToken)
根据用户名获取用户的粉丝数据/Get user followers by username
[中文] ### 用途: - 根据Instagram用户名获取用户的粉丝数据,只能获取公开账号的粉丝数据,一次最多获取50个粉丝数据。 - 由于此接口收到后端代理服务器的影响,请在请求此接口时适当调整timeout参数。 - 建议将timeout设置为60秒,以确保能够获取到数据,大多数情况下,数据获取时间在10秒以内。 - 为了获取更多的粉丝数据,可以使用返回的pagination_token参数进行分页。 ### 参数: - username: Instagram用户名 - pagination_token: 分页令牌,用于翻页,第一次请求不需要传值,后续请求需要传入上一次请求的返回值。 ### 返回: - 用户的粉丝数据 # [English] ### Purpose: - Get user followers by Instagram username, can only get the followers data of public accounts, up to 50 followers data at a time. - Due to the impact of the backend proxy server, please adjust the timeout parameter appropriately when requesting this interface. - It is recommended to set the timeout to 60 seconds to ensure that the data can be obtained. In most cases, the data acquisition time is within 10 seconds. - To get more followers data, you can use the returned pagination_token parameter for pagination. ### Parameters: - username: Instagram username - pagination_token: Pagination token, used for pagination, no need to pass value for the first request, pass the return value of the previous request for subsequent requests. ### Return: - User followers data # [示例/Example] username = "instagram" pagination_token = None
// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.InstagramWebAndAppApiApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: bearer
HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
bearer.setBearerToken("BEARER TOKEN");
InstagramWebAndAppApiApi apiInstance = new InstagramWebAndAppApiApi(defaultClient);
String username = instagram; // String | Instagram用户名/Instagram username
String paginationToken = "paginationToken_example"; // String | 分页令牌/Pagination token
try {
ResponseModel result = apiInstance.fetchUserFollowersByUsernameApiV1InstagramWebAppFetchUserFollowersByUsernameGet(username, paginationToken);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling InstagramWebAndAppApiApi#fetchUserFollowersByUsernameApiV1InstagramWebAppFetchUserFollowersByUsernameGet");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
username | String | Instagram用户名/Instagram username | |
paginationToken | String | 分页令牌/Pagination token | [optional] |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Successful Response | - |
422 | Validation Error | - |
ResponseModel fetchUserFollowersByUsernameApiV1InstagramWebAppFetchUserFollowersByUsernameGet_0(username, paginationToken)
根据用户名获取用户的粉丝数据/Get user followers by username
[中文] ### 用途: - 根据Instagram用户名获取用户的粉丝数据,只能获取公开账号的粉丝数据,一次最多获取50个粉丝数据。 - 由于此接口收到后端代理服务器的影响,请在请求此接口时适当调整timeout参数。 - 建议将timeout设置为60秒,以确保能够获取到数据,大多数情况下,数据获取时间在10秒以内。 - 为了获取更多的粉丝数据,可以使用返回的pagination_token参数进行分页。 ### 参数: - username: Instagram用户名 - pagination_token: 分页令牌,用于翻页,第一次请求不需要传值,后续请求需要传入上一次请求的返回值。 ### 返回: - 用户的粉丝数据 # [English] ### Purpose: - Get user followers by Instagram username, can only get the followers data of public accounts, up to 50 followers data at a time. - Due to the impact of the backend proxy server, please adjust the timeout parameter appropriately when requesting this interface. - It is recommended to set the timeout to 60 seconds to ensure that the data can be obtained. In most cases, the data acquisition time is within 10 seconds. - To get more followers data, you can use the returned pagination_token parameter for pagination. ### Parameters: - username: Instagram username - pagination_token: Pagination token, used for pagination, no need to pass value for the first request, pass the return value of the previous request for subsequent requests. ### Return: - User followers data # [示例/Example] username = "instagram" pagination_token = None
// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.InstagramWebAndAppApiApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: bearer
HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
bearer.setBearerToken("BEARER TOKEN");
InstagramWebAndAppApiApi apiInstance = new InstagramWebAndAppApiApi(defaultClient);
String username = instagram; // String | Instagram用户名/Instagram username
String paginationToken = "paginationToken_example"; // String | 分页令牌/Pagination token
try {
ResponseModel result = apiInstance.fetchUserFollowersByUsernameApiV1InstagramWebAppFetchUserFollowersByUsernameGet_0(username, paginationToken);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling InstagramWebAndAppApiApi#fetchUserFollowersByUsernameApiV1InstagramWebAppFetchUserFollowersByUsernameGet_0");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
username | String | Instagram用户名/Instagram username | |
paginationToken | String | 分页令牌/Pagination token | [optional] |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Successful Response | - |
422 | Validation Error | - |
ResponseModel fetchUserFollowingByUsernameApiV1InstagramWebAppFetchUserFollowingByUsernameGet(username, paginationToken)
根据用户名获取用户的正在关注的用户数据/Get user followings by username
[中文] ### 用途: - 根据Instagram用户名获取用户的正在关注的用户数据,只能获取公开账号的正在关注的用户数据,一次最多获取50个正在关注的用户数据。 - 由于此接口收到后端代理服务器的影响,请在请求此接口时适当调整timeout参数。 - 建议将timeout设置为60秒,以确保能够获取到数据,大多数情况下,数据获取时间在10秒以内。 - 为了获取更多的正在关注的用户数据,可以使用返回的pagination_token参数进行分页。 ### 参数: - username: Instagram用户名 - pagination_token: 分页令牌,用于翻页,第一次请求不需要传值,后续请求需要传入上一次请求的返回值。 ### 返回: - 用户的正在关注的用户数据 # [English] ### Purpose: - Get user followings by Instagram username, can only get the followings data of public accounts, up to 50 followings data at a time. - Due to the impact of the backend proxy server, please adjust the timeout parameter appropriately when requesting this interface. - It is recommended to set the timeout to 60 seconds to ensure that the data can be obtained. In most cases, the data acquisition time is within 10 seconds. - To get more followings data, you can use the returned pagination_token parameter for pagination. ### Parameters: - username: Instagram username - pagination_token: Pagination token, used for pagination, no need to pass value for the first request, pass the return value of the previous request for subsequent requests. ### Return: - User followings data # [示例/Example] username = "instagram" pagination_token = None
// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.InstagramWebAndAppApiApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: bearer
HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
bearer.setBearerToken("BEARER TOKEN");
InstagramWebAndAppApiApi apiInstance = new InstagramWebAndAppApiApi(defaultClient);
String username = instagram; // String | Instagram用户名/Instagram username
String paginationToken = "paginationToken_example"; // String | 分页令牌/Pagination token
try {
ResponseModel result = apiInstance.fetchUserFollowingByUsernameApiV1InstagramWebAppFetchUserFollowingByUsernameGet(username, paginationToken);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling InstagramWebAndAppApiApi#fetchUserFollowingByUsernameApiV1InstagramWebAppFetchUserFollowingByUsernameGet");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
username | String | Instagram用户名/Instagram username | |
paginationToken | String | 分页令牌/Pagination token | [optional] |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Successful Response | - |
422 | Validation Error | - |
ResponseModel fetchUserFollowingByUsernameApiV1InstagramWebAppFetchUserFollowingByUsernameGet_0(username, paginationToken)
根据用户名获取用户的正在关注的用户数据/Get user followings by username
[中文] ### 用途: - 根据Instagram用户名获取用户的正在关注的用户数据,只能获取公开账号的正在关注的用户数据,一次最多获取50个正在关注的用户数据。 - 由于此接口收到后端代理服务器的影响,请在请求此接口时适当调整timeout参数。 - 建议将timeout设置为60秒,以确保能够获取到数据,大多数情况下,数据获取时间在10秒以内。 - 为了获取更多的正在关注的用户数据,可以使用返回的pagination_token参数进行分页。 ### 参数: - username: Instagram用户名 - pagination_token: 分页令牌,用于翻页,第一次请求不需要传值,后续请求需要传入上一次请求的返回值。 ### 返回: - 用户的正在关注的用户数据 # [English] ### Purpose: - Get user followings by Instagram username, can only get the followings data of public accounts, up to 50 followings data at a time. - Due to the impact of the backend proxy server, please adjust the timeout parameter appropriately when requesting this interface. - It is recommended to set the timeout to 60 seconds to ensure that the data can be obtained. In most cases, the data acquisition time is within 10 seconds. - To get more followings data, you can use the returned pagination_token parameter for pagination. ### Parameters: - username: Instagram username - pagination_token: Pagination token, used for pagination, no need to pass value for the first request, pass the return value of the previous request for subsequent requests. ### Return: - User followings data # [示例/Example] username = "instagram" pagination_token = None
// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.InstagramWebAndAppApiApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: bearer
HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
bearer.setBearerToken("BEARER TOKEN");
InstagramWebAndAppApiApi apiInstance = new InstagramWebAndAppApiApi(defaultClient);
String username = instagram; // String | Instagram用户名/Instagram username
String paginationToken = "paginationToken_example"; // String | 分页令牌/Pagination token
try {
ResponseModel result = apiInstance.fetchUserFollowingByUsernameApiV1InstagramWebAppFetchUserFollowingByUsernameGet_0(username, paginationToken);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling InstagramWebAndAppApiApi#fetchUserFollowingByUsernameApiV1InstagramWebAppFetchUserFollowingByUsernameGet_0");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
username | String | Instagram用户名/Instagram username | |
paginationToken | String | 分页令牌/Pagination token | [optional] |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Successful Response | - |
422 | Validation Error | - |
ResponseModel fetchUserHighlightsByUsernameApiV1InstagramWebAppFetchUserHighlightsByUsernameGet(username)
根据用户名获取用户的highlights数据/Get user highlights by username
[中文] ### 用途: - 根据Instagram用户名获取用户的highlights数据 - 由于此接口收到后端代理服务器的影响,请在请求此接口时适当调整timeout参数。 - 建议将timeout设置为60秒,以确保能够获取到数据,大多数情况下,数据获取时间在10秒以内。 ### 参数: - username: Instagram用户名 ### 返回: - 用户的highlights数据 # [English] ### Purpose: - Get user highlights by Instagram username - Due to the impact of the backend proxy server, please adjust the timeout parameter appropriately when requesting this interface. - It is recommended to set the timeout to 60 seconds to ensure that the data can be obtained. In most cases, the data acquisition time is within 10 seconds. ### Parameters: - username: Instagram username ### Return: - User highlights data # [示例/Example] username = "instagram"
// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.InstagramWebAndAppApiApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: bearer
HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
bearer.setBearerToken("BEARER TOKEN");
InstagramWebAndAppApiApi apiInstance = new InstagramWebAndAppApiApi(defaultClient);
String username = instagram; // String | Instagram用户名/Instagram username
try {
ResponseModel result = apiInstance.fetchUserHighlightsByUsernameApiV1InstagramWebAppFetchUserHighlightsByUsernameGet(username);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling InstagramWebAndAppApiApi#fetchUserHighlightsByUsernameApiV1InstagramWebAppFetchUserHighlightsByUsernameGet");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
username | String | Instagram用户名/Instagram username |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Successful Response | - |
422 | Validation Error | - |
ResponseModel fetchUserHighlightsByUsernameApiV1InstagramWebAppFetchUserHighlightsByUsernameGet_0(username)
根据用户名获取用户的highlights数据/Get user highlights by username
[中文] ### 用途: - 根据Instagram用户名获取用户的highlights数据 - 由于此接口收到后端代理服务器的影响,请在请求此接口时适当调整timeout参数。 - 建议将timeout设置为60秒,以确保能够获取到数据,大多数情况下,数据获取时间在10秒以内。 ### 参数: - username: Instagram用户名 ### 返回: - 用户的highlights数据 # [English] ### Purpose: - Get user highlights by Instagram username - Due to the impact of the backend proxy server, please adjust the timeout parameter appropriately when requesting this interface. - It is recommended to set the timeout to 60 seconds to ensure that the data can be obtained. In most cases, the data acquisition time is within 10 seconds. ### Parameters: - username: Instagram username ### Return: - User highlights data # [示例/Example] username = "instagram"
// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.InstagramWebAndAppApiApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: bearer
HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
bearer.setBearerToken("BEARER TOKEN");
InstagramWebAndAppApiApi apiInstance = new InstagramWebAndAppApiApi(defaultClient);
String username = instagram; // String | Instagram用户名/Instagram username
try {
ResponseModel result = apiInstance.fetchUserHighlightsByUsernameApiV1InstagramWebAppFetchUserHighlightsByUsernameGet_0(username);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling InstagramWebAndAppApiApi#fetchUserHighlightsByUsernameApiV1InstagramWebAppFetchUserHighlightsByUsernameGet_0");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
username | String | Instagram用户名/Instagram username |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Successful Response | - |
422 | Validation Error | - |
ResponseModel fetchUserInfoByIdApiV1InstagramWebAppFetchUserInfoByUserIdGet(userId)
根据用户ID获取用户数据/Get user data by user ID
[中文] ### 用途: - 根据Instagram用户ID获取用户数据 - 由于此接口收到后端代理服务器的影响,请在请求此接口时适当调整timeout参数。 - 建议将timeout设置为60秒,以确保能够获取到数据,大多数情况下,数据获取时间在10秒以内。 ### 参数: - user_id: Instagram用户ID ### 返回: - 用户数据 # [English] ### Purpose: - Get user data by Instagram user ID - Due to the impact of the backend proxy server, please adjust the timeout parameter appropriately when requesting this interface. - It is recommended to set the timeout to 60 seconds to ensure that the data can be obtained. In most cases, the data acquisition time is within 10 seconds. ### Parameters: - user_id: Instagram user ID ### Return: - User data # [示例/Example] user_id = "25025320"
// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.InstagramWebAndAppApiApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: bearer
HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
bearer.setBearerToken("BEARER TOKEN");
InstagramWebAndAppApiApi apiInstance = new InstagramWebAndAppApiApi(defaultClient);
String userId = 25025320; // String | Instagram用户ID/Instagram user ID
try {
ResponseModel result = apiInstance.fetchUserInfoByIdApiV1InstagramWebAppFetchUserInfoByUserIdGet(userId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling InstagramWebAndAppApiApi#fetchUserInfoByIdApiV1InstagramWebAppFetchUserInfoByUserIdGet");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
userId | String | Instagram用户ID/Instagram user ID |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Successful Response | - |
422 | Validation Error | - |
ResponseModel fetchUserInfoByIdApiV1InstagramWebAppFetchUserInfoByUserIdGet_0(userId)
根据用户ID获取用户数据/Get user data by user ID
[中文] ### 用途: - 根据Instagram用户ID获取用户数据 - 由于此接口收到后端代理服务器的影响,请在请求此接口时适当调整timeout参数。 - 建议将timeout设置为60秒,以确保能够获取到数据,大多数情况下,数据获取时间在10秒以内。 ### 参数: - user_id: Instagram用户ID ### 返回: - 用户数据 # [English] ### Purpose: - Get user data by Instagram user ID - Due to the impact of the backend proxy server, please adjust the timeout parameter appropriately when requesting this interface. - It is recommended to set the timeout to 60 seconds to ensure that the data can be obtained. In most cases, the data acquisition time is within 10 seconds. ### Parameters: - user_id: Instagram user ID ### Return: - User data # [示例/Example] user_id = "25025320"
// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.InstagramWebAndAppApiApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: bearer
HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
bearer.setBearerToken("BEARER TOKEN");
InstagramWebAndAppApiApi apiInstance = new InstagramWebAndAppApiApi(defaultClient);
String userId = 25025320; // String | Instagram用户ID/Instagram user ID
try {
ResponseModel result = apiInstance.fetchUserInfoByIdApiV1InstagramWebAppFetchUserInfoByUserIdGet_0(userId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling InstagramWebAndAppApiApi#fetchUserInfoByIdApiV1InstagramWebAppFetchUserInfoByUserIdGet_0");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
userId | String | Instagram用户ID/Instagram user ID |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Successful Response | - |
422 | Validation Error | - |
ResponseModel fetchUserInfoByIdV2ApiV1InstagramWebAppFetchUserInfoByUserIdV2Get(userId)
根据用户ID获取用户数据V2/Get user data by user ID V2
[中文] ### 用途: - 根据Instagram用户ID获取用户数据 - 由于此接口收到后端代理服务器的影响,请在请求此接口时适当调整timeout参数。 - 建议将timeout设置为60秒,以确保能够获取到数据,大多数情况下,数据获取时间在10秒以内。 ### 参数: - user_id: Instagram用户ID ### 返回: - 用户数据 # [English] ### Purpose: - Get user data by Instagram user ID - Due to the impact of the backend proxy server, please adjust the timeout parameter appropriately when requesting this interface. - It is recommended to set the timeout to 60 seconds to ensure that the data can be obtained. In most cases, the data acquisition time is within 10 seconds. ### Parameters: - user_id: Instagram user ID ### Return: - User data # [示例/Example] user_id = "25025320"
// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.InstagramWebAndAppApiApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: bearer
HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
bearer.setBearerToken("BEARER TOKEN");
InstagramWebAndAppApiApi apiInstance = new InstagramWebAndAppApiApi(defaultClient);
String userId = 25025320; // String | Instagram用户ID/Instagram user ID
try {
ResponseModel result = apiInstance.fetchUserInfoByIdV2ApiV1InstagramWebAppFetchUserInfoByUserIdV2Get(userId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling InstagramWebAndAppApiApi#fetchUserInfoByIdV2ApiV1InstagramWebAppFetchUserInfoByUserIdV2Get");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
userId | String | Instagram用户ID/Instagram user ID |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Successful Response | - |
422 | Validation Error | - |
ResponseModel fetchUserInfoByIdV2ApiV1InstagramWebAppFetchUserInfoByUserIdV2Get_0(userId)
根据用户ID获取用户数据V2/Get user data by user ID V2
[中文] ### 用途: - 根据Instagram用户ID获取用户数据 - 由于此接口收到后端代理服务器的影响,请在请求此接口时适当调整timeout参数。 - 建议将timeout设置为60秒,以确保能够获取到数据,大多数情况下,数据获取时间在10秒以内。 ### 参数: - user_id: Instagram用户ID ### 返回: - 用户数据 # [English] ### Purpose: - Get user data by Instagram user ID - Due to the impact of the backend proxy server, please adjust the timeout parameter appropriately when requesting this interface. - It is recommended to set the timeout to 60 seconds to ensure that the data can be obtained. In most cases, the data acquisition time is within 10 seconds. ### Parameters: - user_id: Instagram user ID ### Return: - User data # [示例/Example] user_id = "25025320"
// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.InstagramWebAndAppApiApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: bearer
HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
bearer.setBearerToken("BEARER TOKEN");
InstagramWebAndAppApiApi apiInstance = new InstagramWebAndAppApiApi(defaultClient);
String userId = 25025320; // String | Instagram用户ID/Instagram user ID
try {
ResponseModel result = apiInstance.fetchUserInfoByIdV2ApiV1InstagramWebAppFetchUserInfoByUserIdV2Get_0(userId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling InstagramWebAndAppApiApi#fetchUserInfoByIdV2ApiV1InstagramWebAppFetchUserInfoByUserIdV2Get_0");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
userId | String | Instagram用户ID/Instagram user ID |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Successful Response | - |
422 | Validation Error | - |
ResponseModel fetchUserInfoByUsernameApiV1InstagramWebAppFetchUserInfoByUsernameGet(username)
根据用户名获取用户数据/Get user data by username
[中文] ### 用途: - 根据Instagram用户名获取用户数据 - 由于此接口收到后端代理服务器的影响,请在请求此接口时适当调整timeout参数。 - 建议将timeout设置为60秒,以确保能够获取到数据,大多数情况下,数据获取时间在10秒以内。 ### 参数: - username: Instagram用户名 ### 返回: - 用户数据 # [English] ### Purpose: - Get user data by Instagram username - Due to the impact of the backend proxy server, please adjust the timeout parameter appropriately when requesting this interface. - It is recommended to set the timeout to 60 seconds to ensure that the data can be obtained. In most cases, the data acquisition time is within 10 seconds. ### Parameters: - username: Instagram username ### Return: - User data # [示例/Example] username = "instagram"
// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.InstagramWebAndAppApiApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: bearer
HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
bearer.setBearerToken("BEARER TOKEN");
InstagramWebAndAppApiApi apiInstance = new InstagramWebAndAppApiApi(defaultClient);
String username = instagram; // String | Instagram用户名/Instagram username
try {
ResponseModel result = apiInstance.fetchUserInfoByUsernameApiV1InstagramWebAppFetchUserInfoByUsernameGet(username);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling InstagramWebAndAppApiApi#fetchUserInfoByUsernameApiV1InstagramWebAppFetchUserInfoByUsernameGet");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
username | String | Instagram用户名/Instagram username |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Successful Response | - |
422 | Validation Error | - |
ResponseModel fetchUserInfoByUsernameApiV1InstagramWebAppFetchUserInfoByUsernameGet_0(username)
根据用户名获取用户数据/Get user data by username
[中文] ### 用途: - 根据Instagram用户名获取用户数据 - 由于此接口收到后端代理服务器的影响,请在请求此接口时适当调整timeout参数。 - 建议将timeout设置为60秒,以确保能够获取到数据,大多数情况下,数据获取时间在10秒以内。 ### 参数: - username: Instagram用户名 ### 返回: - 用户数据 # [English] ### Purpose: - Get user data by Instagram username - Due to the impact of the backend proxy server, please adjust the timeout parameter appropriately when requesting this interface. - It is recommended to set the timeout to 60 seconds to ensure that the data can be obtained. In most cases, the data acquisition time is within 10 seconds. ### Parameters: - username: Instagram username ### Return: - User data # [示例/Example] username = "instagram"
// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.InstagramWebAndAppApiApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: bearer
HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
bearer.setBearerToken("BEARER TOKEN");
InstagramWebAndAppApiApi apiInstance = new InstagramWebAndAppApiApi(defaultClient);
String username = instagram; // String | Instagram用户名/Instagram username
try {
ResponseModel result = apiInstance.fetchUserInfoByUsernameApiV1InstagramWebAppFetchUserInfoByUsernameGet_0(username);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling InstagramWebAndAppApiApi#fetchUserInfoByUsernameApiV1InstagramWebAppFetchUserInfoByUsernameGet_0");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
username | String | Instagram用户名/Instagram username |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Successful Response | - |
422 | Validation Error | - |
ResponseModel fetchUserInfoByUsernameV2ApiV1InstagramWebAppFetchUserInfoByUsernameV2Get(username)
根据用户名获取用户数据V2/Get user data by username V2
[中文] ### 用途: - 根据Instagram用户名获取用户数据 - 由于此接口收到后端代理服务器的影响,请在请求此接口时适当调整timeout参数。 - 建议将timeout设置为60秒,以确保能够获取到数据,大多数情况下,数据获取时间在10秒以内。 ### 参数: - username: Instagram用户名 ### 返回: - 用户数据 # [English] ### Purpose: - Get user data by Instagram username - Due to the impact of the backend proxy server, please adjust the timeout parameter appropriately when requesting this interface. - It is recommended to set the timeout to 60 seconds to ensure that the data can be obtained. In most cases, the data acquisition time is within 10 seconds. ### Parameters: - username: Instagram username ### Return: - User data # [示例/Example] username = "instagram"
// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.InstagramWebAndAppApiApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: bearer
HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
bearer.setBearerToken("BEARER TOKEN");
InstagramWebAndAppApiApi apiInstance = new InstagramWebAndAppApiApi(defaultClient);
String username = instagram; // String | Instagram用户名/Instagram username
try {
ResponseModel result = apiInstance.fetchUserInfoByUsernameV2ApiV1InstagramWebAppFetchUserInfoByUsernameV2Get(username);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling InstagramWebAndAppApiApi#fetchUserInfoByUsernameV2ApiV1InstagramWebAppFetchUserInfoByUsernameV2Get");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
username | String | Instagram用户名/Instagram username |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Successful Response | - |
422 | Validation Error | - |
ResponseModel fetchUserInfoByUsernameV2ApiV1InstagramWebAppFetchUserInfoByUsernameV2Get_0(username)
根据用户名获取用户数据V2/Get user data by username V2
[中文] ### 用途: - 根据Instagram用户名获取用户数据 - 由于此接口收到后端代理服务器的影响,请在请求此接口时适当调整timeout参数。 - 建议将timeout设置为60秒,以确保能够获取到数据,大多数情况下,数据获取时间在10秒以内。 ### 参数: - username: Instagram用户名 ### 返回: - 用户数据 # [English] ### Purpose: - Get user data by Instagram username - Due to the impact of the backend proxy server, please adjust the timeout parameter appropriately when requesting this interface. - It is recommended to set the timeout to 60 seconds to ensure that the data can be obtained. In most cases, the data acquisition time is within 10 seconds. ### Parameters: - username: Instagram username ### Return: - User data # [示例/Example] username = "instagram"
// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.InstagramWebAndAppApiApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: bearer
HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
bearer.setBearerToken("BEARER TOKEN");
InstagramWebAndAppApiApi apiInstance = new InstagramWebAndAppApiApi(defaultClient);
String username = instagram; // String | Instagram用户名/Instagram username
try {
ResponseModel result = apiInstance.fetchUserInfoByUsernameV2ApiV1InstagramWebAppFetchUserInfoByUsernameV2Get_0(username);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling InstagramWebAndAppApiApi#fetchUserInfoByUsernameV2ApiV1InstagramWebAppFetchUserInfoByUsernameV2Get_0");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
username | String | Instagram用户名/Instagram username |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Successful Response | - |
422 | Validation Error | - |
ResponseModel fetchUserInfoByUsernameWebApiV1InstagramWebAppFetchUserInfoByUsernameWebGet(username)
根据用户名获取用户网页接口的个人信息/Get user info by username web API
[中文] ### 用途: - 根据Instagram用户名获取用户网页接口的个人信息 - 由于此接口收到后端代理服务器的影响,请在请求此接口时适当调整timeout参数。 - 建议将timeout设置为60秒,以确保能够获取到数据,大多数情况下,数据获取时间在10秒以内。 ### 参数: - username: Instagram用户名 ### 返回: - 用户网页接口的个人信息 # [English] ### Purpose: - Get user info by Instagram username web API - Due to the impact of the backend proxy server, please adjust the timeout parameter appropriately when requesting this interface. - It is recommended to set the timeout to 60 seconds to ensure that the data can be obtained. In most cases, the data acquisition time is within 10 seconds. ### Parameters: - username: Instagram username ### Return: - User info by Instagram username web API # [示例/Example] username = "instagram"
// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.InstagramWebAndAppApiApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: bearer
HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
bearer.setBearerToken("BEARER TOKEN");
InstagramWebAndAppApiApi apiInstance = new InstagramWebAndAppApiApi(defaultClient);
String username = instagram; // String | Instagram用户名/Instagram username
try {
ResponseModel result = apiInstance.fetchUserInfoByUsernameWebApiV1InstagramWebAppFetchUserInfoByUsernameWebGet(username);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling InstagramWebAndAppApiApi#fetchUserInfoByUsernameWebApiV1InstagramWebAppFetchUserInfoByUsernameWebGet");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
username | String | Instagram用户名/Instagram username |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Successful Response | - |
422 | Validation Error | - |
ResponseModel fetchUserInfoByUsernameWebApiV1InstagramWebAppFetchUserInfoByUsernameWebGet_0(username)
根据用户名获取用户网页接口的个人信息/Get user info by username web API
[中文] ### 用途: - 根据Instagram用户名获取用户网页接口的个人信息 - 由于此接口收到后端代理服务器的影响,请在请求此接口时适当调整timeout参数。 - 建议将timeout设置为60秒,以确保能够获取到数据,大多数情况下,数据获取时间在10秒以内。 ### 参数: - username: Instagram用户名 ### 返回: - 用户网页接口的个人信息 # [English] ### Purpose: - Get user info by Instagram username web API - Due to the impact of the backend proxy server, please adjust the timeout parameter appropriately when requesting this interface. - It is recommended to set the timeout to 60 seconds to ensure that the data can be obtained. In most cases, the data acquisition time is within 10 seconds. ### Parameters: - username: Instagram username ### Return: - User info by Instagram username web API # [示例/Example] username = "instagram"
// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.InstagramWebAndAppApiApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: bearer
HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
bearer.setBearerToken("BEARER TOKEN");
InstagramWebAndAppApiApi apiInstance = new InstagramWebAndAppApiApi(defaultClient);
String username = instagram; // String | Instagram用户名/Instagram username
try {
ResponseModel result = apiInstance.fetchUserInfoByUsernameWebApiV1InstagramWebAppFetchUserInfoByUsernameWebGet_0(username);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling InstagramWebAndAppApiApi#fetchUserInfoByUsernameWebApiV1InstagramWebAppFetchUserInfoByUsernameWebGet_0");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
username | String | Instagram用户名/Instagram username |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Successful Response | - |
422 | Validation Error | - |
ResponseModel fetchUserPostsByUserIdApiV1InstagramWebAppFetchUserPostsByUserIdGet(userId, count, endCursor)
根据用户ID获取用户发布的帖子/Get user posts by user ID
[中文] ### 用途: - 根据Instagram用户ID获取用户发布的帖子 - 由于此接口收到后端代理服务器的影响,请在请求此接口时适当调整timeout参数。 - 建议将timeout设置为60秒,以确保能够获取到数据,大多数情况下,数据获取时间在10秒以内。 ### 参数: - user_id: Instagram用户ID - count: 每页数量 - end_cursor: 结束游标,用于翻页,第一页不需要传值,后续页需要传入上一页的返回值。 ### 返回: - 用户发布的帖子 # [English] ### Purpose: - Get user posts by Instagram user ID - Due to the impact of the backend proxy server, please adjust the timeout parameter appropriately when requesting this interface. - It is recommended to set the timeout to 60 seconds to ensure that the data can be obtained. In most cases, the data acquisition time is within 10 seconds. ### Parameters: - user_id: Instagram user ID - count: Count per page - end_cursor: End cursor, used for pagination, no need to pass value for the first page, pass the return value of the previous page for subsequent pages. ### Return: - User posts # [示例/Example] user_id = "25025320" count = 12 end_cursor = None
// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.InstagramWebAndAppApiApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: bearer
HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
bearer.setBearerToken("BEARER TOKEN");
InstagramWebAndAppApiApi apiInstance = new InstagramWebAndAppApiApi(defaultClient);
String userId = 25025320; // String | Instagram用户ID/Instagram user ID
Integer count = 12; // Integer | 每页数量/Count per page
String endCursor = "endCursor_example"; // String | 结束游标/End cursor
try {
ResponseModel result = apiInstance.fetchUserPostsByUserIdApiV1InstagramWebAppFetchUserPostsByUserIdGet(userId, count, endCursor);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling InstagramWebAndAppApiApi#fetchUserPostsByUserIdApiV1InstagramWebAppFetchUserPostsByUserIdGet");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
userId | String | Instagram用户ID/Instagram user ID | |
count | Integer | 每页数量/Count per page | [optional] [default to 12] |
endCursor | String | 结束游标/End cursor | [optional] |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Successful Response | - |
422 | Validation Error | - |
ResponseModel fetchUserPostsByUserIdApiV1InstagramWebAppFetchUserPostsByUserIdGet_0(userId, count, endCursor)
根据用户ID获取用户发布的帖子/Get user posts by user ID
[中文] ### 用途: - 根据Instagram用户ID获取用户发布的帖子 - 由于此接口收到后端代理服务器的影响,请在请求此接口时适当调整timeout参数。 - 建议将timeout设置为60秒,以确保能够获取到数据,大多数情况下,数据获取时间在10秒以内。 ### 参数: - user_id: Instagram用户ID - count: 每页数量 - end_cursor: 结束游标,用于翻页,第一页不需要传值,后续页需要传入上一页的返回值。 ### 返回: - 用户发布的帖子 # [English] ### Purpose: - Get user posts by Instagram user ID - Due to the impact of the backend proxy server, please adjust the timeout parameter appropriately when requesting this interface. - It is recommended to set the timeout to 60 seconds to ensure that the data can be obtained. In most cases, the data acquisition time is within 10 seconds. ### Parameters: - user_id: Instagram user ID - count: Count per page - end_cursor: End cursor, used for pagination, no need to pass value for the first page, pass the return value of the previous page for subsequent pages. ### Return: - User posts # [示例/Example] user_id = "25025320" count = 12 end_cursor = None
// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.InstagramWebAndAppApiApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: bearer
HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
bearer.setBearerToken("BEARER TOKEN");
InstagramWebAndAppApiApi apiInstance = new InstagramWebAndAppApiApi(defaultClient);
String userId = 25025320; // String | Instagram用户ID/Instagram user ID
Integer count = 12; // Integer | 每页数量/Count per page
String endCursor = "endCursor_example"; // String | 结束游标/End cursor
try {
ResponseModel result = apiInstance.fetchUserPostsByUserIdApiV1InstagramWebAppFetchUserPostsByUserIdGet_0(userId, count, endCursor);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling InstagramWebAndAppApiApi#fetchUserPostsByUserIdApiV1InstagramWebAppFetchUserPostsByUserIdGet_0");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
userId | String | Instagram用户ID/Instagram user ID | |
count | Integer | 每页数量/Count per page | [optional] [default to 12] |
endCursor | String | 结束游标/End cursor | [optional] |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Successful Response | - |
422 | Validation Error | - |
ResponseModel fetchUserReelsByUserIdApiV1InstagramWebAppFetchUserReelsByUserIdGet(userId, count, maxId)
根据用户ID获取用户发布的快拍/Get user reels by user ID
[中文] ### 用途: - 根据Instagram用户ID获取用户发布的快拍 - 由于此接口收到后端代理服务器的影响,请在请求此接口时适当调整timeout参数。 - 建议将timeout设置为60秒,以确保能够获取到数据,大多数情况下,数据获取时间在10秒以内。 ### 参数: - user_id: Instagram用户ID - count: 每页数量 - max_id: 最大ID,用于翻页,第一页不需要传值,后续页需要传入上一页的返回值。 ### 返回: - 用户发布的快拍 # [English] ### Purpose: - Get user reels by Instagram user ID - Due to the impact of the backend proxy server, please adjust the timeout parameter appropriately when requesting this interface. - It is recommended to set the timeout to 60 seconds to ensure that the data can be obtained. In most cases, the data acquisition time is within 10 seconds. ### Parameters: - user_id: Instagram user ID - count: Count per page - max_id: Max ID, used for pagination, no need to pass value for the first page, pass the return value of the previous page for subsequent pages. ### Return: - User reels # [示例/Example] user_id = "25025320" count = 12 max_id = None
// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.InstagramWebAndAppApiApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: bearer
HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
bearer.setBearerToken("BEARER TOKEN");
InstagramWebAndAppApiApi apiInstance = new InstagramWebAndAppApiApi(defaultClient);
String userId = 25025320; // String | Instagram用户ID/Instagram user ID
Integer count = 12; // Integer | 每页数量/Count per page
String maxId = "maxId_example"; // String | 最大ID/Max ID
try {
ResponseModel result = apiInstance.fetchUserReelsByUserIdApiV1InstagramWebAppFetchUserReelsByUserIdGet(userId, count, maxId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling InstagramWebAndAppApiApi#fetchUserReelsByUserIdApiV1InstagramWebAppFetchUserReelsByUserIdGet");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
userId | String | Instagram用户ID/Instagram user ID | |
count | Integer | 每页数量/Count per page | [optional] [default to 12] |
maxId | String | 最大ID/Max ID | [optional] |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Successful Response | - |
422 | Validation Error | - |
ResponseModel fetchUserReelsByUserIdApiV1InstagramWebAppFetchUserReelsByUserIdGet_0(userId, count, maxId)
根据用户ID获取用户发布的快拍/Get user reels by user ID
[中文] ### 用途: - 根据Instagram用户ID获取用户发布的快拍 - 由于此接口收到后端代理服务器的影响,请在请求此接口时适当调整timeout参数。 - 建议将timeout设置为60秒,以确保能够获取到数据,大多数情况下,数据获取时间在10秒以内。 ### 参数: - user_id: Instagram用户ID - count: 每页数量 - max_id: 最大ID,用于翻页,第一页不需要传值,后续页需要传入上一页的返回值。 ### 返回: - 用户发布的快拍 # [English] ### Purpose: - Get user reels by Instagram user ID - Due to the impact of the backend proxy server, please adjust the timeout parameter appropriately when requesting this interface. - It is recommended to set the timeout to 60 seconds to ensure that the data can be obtained. In most cases, the data acquisition time is within 10 seconds. ### Parameters: - user_id: Instagram user ID - count: Count per page - max_id: Max ID, used for pagination, no need to pass value for the first page, pass the return value of the previous page for subsequent pages. ### Return: - User reels # [示例/Example] user_id = "25025320" count = 12 max_id = None
// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.InstagramWebAndAppApiApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: bearer
HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
bearer.setBearerToken("BEARER TOKEN");
InstagramWebAndAppApiApi apiInstance = new InstagramWebAndAppApiApi(defaultClient);
String userId = 25025320; // String | Instagram用户ID/Instagram user ID
Integer count = 12; // Integer | 每页数量/Count per page
String maxId = "maxId_example"; // String | 最大ID/Max ID
try {
ResponseModel result = apiInstance.fetchUserReelsByUserIdApiV1InstagramWebAppFetchUserReelsByUserIdGet_0(userId, count, maxId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling InstagramWebAndAppApiApi#fetchUserReelsByUserIdApiV1InstagramWebAppFetchUserReelsByUserIdGet_0");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
userId | String | Instagram用户ID/Instagram user ID | |
count | Integer | 每页数量/Count per page | [optional] [default to 12] |
maxId | String | 最大ID/Max ID | [optional] |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Successful Response | - |
422 | Validation Error | - |
ResponseModel fetchUserReelsByUsernameV2ApiV1InstagramWebAppFetchUserReelsByUsernameV2Get(username, paginationToken)
根据用户名获取用户的Reels数据V2/Get user reels by username V2
[中文] ### 用途: - 根据Instagram用户名获取用户的Reels数据V2 - 由于此接口收到后端代理服务器的影响,请在请求此接口时适当调整timeout参数。 - 建议将timeout设置为60秒,以确保能够获取到数据,大多数情况下,数据获取时间在10秒以内。 ### 参数: - username: Instagram用户名 - pagination_token: 分页token,第一次请求不需要传值,后续页需要传入上一页的返回值。 ### 返回: - 用户的Reels数据 # [English] ### Purpose: - Get user reels by Instagram username V2 - Due to the impact of the backend proxy server, please adjust the timeout parameter appropriately when requesting this interface. - It is recommended to set the timeout to 60 seconds to ensure that the data can be obtained. In most cases, the data acquisition time is within 10 seconds. ### Parameters: - username: Instagram username - pagination_token: Pagination token, no need to pass value for the first request, pass the return value of the previous page for subsequent pages. ### Return: - User reels data # [示例/Example] username = "instagram" pagination_token = None
// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.InstagramWebAndAppApiApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: bearer
HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
bearer.setBearerToken("BEARER TOKEN");
InstagramWebAndAppApiApi apiInstance = new InstagramWebAndAppApiApi(defaultClient);
String username = instagram; // String | Instagram用户名/Instagram username
String paginationToken = "paginationToken_example"; // String | 分页token/Pagination token
try {
ResponseModel result = apiInstance.fetchUserReelsByUsernameV2ApiV1InstagramWebAppFetchUserReelsByUsernameV2Get(username, paginationToken);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling InstagramWebAndAppApiApi#fetchUserReelsByUsernameV2ApiV1InstagramWebAppFetchUserReelsByUsernameV2Get");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
username | String | Instagram用户名/Instagram username | |
paginationToken | String | 分页token/Pagination token | [optional] |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Successful Response | - |
422 | Validation Error | - |
ResponseModel fetchUserReelsByUsernameV2ApiV1InstagramWebAppFetchUserReelsByUsernameV2Get_0(username, paginationToken)
根据用户名获取用户的Reels数据V2/Get user reels by username V2
[中文] ### 用途: - 根据Instagram用户名获取用户的Reels数据V2 - 由于此接口收到后端代理服务器的影响,请在请求此接口时适当调整timeout参数。 - 建议将timeout设置为60秒,以确保能够获取到数据,大多数情况下,数据获取时间在10秒以内。 ### 参数: - username: Instagram用户名 - pagination_token: 分页token,第一次请求不需要传值,后续页需要传入上一页的返回值。 ### 返回: - 用户的Reels数据 # [English] ### Purpose: - Get user reels by Instagram username V2 - Due to the impact of the backend proxy server, please adjust the timeout parameter appropriately when requesting this interface. - It is recommended to set the timeout to 60 seconds to ensure that the data can be obtained. In most cases, the data acquisition time is within 10 seconds. ### Parameters: - username: Instagram username - pagination_token: Pagination token, no need to pass value for the first request, pass the return value of the previous page for subsequent pages. ### Return: - User reels data # [示例/Example] username = "instagram" pagination_token = None
// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.InstagramWebAndAppApiApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: bearer
HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
bearer.setBearerToken("BEARER TOKEN");
InstagramWebAndAppApiApi apiInstance = new InstagramWebAndAppApiApi(defaultClient);
String username = instagram; // String | Instagram用户名/Instagram username
String paginationToken = "paginationToken_example"; // String | 分页token/Pagination token
try {
ResponseModel result = apiInstance.fetchUserReelsByUsernameV2ApiV1InstagramWebAppFetchUserReelsByUsernameV2Get_0(username, paginationToken);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling InstagramWebAndAppApiApi#fetchUserReelsByUsernameV2ApiV1InstagramWebAppFetchUserReelsByUsernameV2Get_0");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
username | String | Instagram用户名/Instagram username | |
paginationToken | String | 分页token/Pagination token | [optional] |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Successful Response | - |
422 | Validation Error | - |
ResponseModel fetchUserStoriesByUsernameApiV1InstagramWebAppFetchUserStoriesByUsernameGet(username)
根据用户名获取用户的Stories数据/Get user stories by username
[中文] ### 用途: - 根据Instagram用户名获取用户的Stories数据 - 由于此接口收到后端代理服务器的影响,请在请求此接口时适当调整timeout参数。 - 建议将timeout设置为60秒,以确保能够获取到数据,大多数情况下,数据获取时间在10秒以内。 ### 参数: - username: Instagram用户名 ### 返回: - 用户的Stories数据 # [English] ### Purpose: - Get user stories by Instagram username - Due to the impact of the backend proxy server, please adjust the timeout parameter appropriately when requesting this interface. - It is recommended to set the timeout to 60 seconds to ensure that the data can be obtained. In most cases, the data acquisition time is within 10 seconds. ### Parameters: - username: Instagram username ### Return: - User stories data # [示例/Example] username = "instagram"
// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.InstagramWebAndAppApiApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: bearer
HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
bearer.setBearerToken("BEARER TOKEN");
InstagramWebAndAppApiApi apiInstance = new InstagramWebAndAppApiApi(defaultClient);
String username = instagram; // String | Instagram用户名/Instagram username
try {
ResponseModel result = apiInstance.fetchUserStoriesByUsernameApiV1InstagramWebAppFetchUserStoriesByUsernameGet(username);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling InstagramWebAndAppApiApi#fetchUserStoriesByUsernameApiV1InstagramWebAppFetchUserStoriesByUsernameGet");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
username | String | Instagram用户名/Instagram username |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Successful Response | - |
422 | Validation Error | - |
ResponseModel fetchUserStoriesByUsernameApiV1InstagramWebAppFetchUserStoriesByUsernameGet_0(username)
根据用户名获取用户的Stories数据/Get user stories by username
[中文] ### 用途: - 根据Instagram用户名获取用户的Stories数据 - 由于此接口收到后端代理服务器的影响,请在请求此接口时适当调整timeout参数。 - 建议将timeout设置为60秒,以确保能够获取到数据,大多数情况下,数据获取时间在10秒以内。 ### 参数: - username: Instagram用户名 ### 返回: - 用户的Stories数据 # [English] ### Purpose: - Get user stories by Instagram username - Due to the impact of the backend proxy server, please adjust the timeout parameter appropriately when requesting this interface. - It is recommended to set the timeout to 60 seconds to ensure that the data can be obtained. In most cases, the data acquisition time is within 10 seconds. ### Parameters: - username: Instagram username ### Return: - User stories data # [示例/Example] username = "instagram"
// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.InstagramWebAndAppApiApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: bearer
HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
bearer.setBearerToken("BEARER TOKEN");
InstagramWebAndAppApiApi apiInstance = new InstagramWebAndAppApiApi(defaultClient);
String username = instagram; // String | Instagram用户名/Instagram username
try {
ResponseModel result = apiInstance.fetchUserStoriesByUsernameApiV1InstagramWebAppFetchUserStoriesByUsernameGet_0(username);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling InstagramWebAndAppApiApi#fetchUserStoriesByUsernameApiV1InstagramWebAppFetchUserStoriesByUsernameGet_0");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
username | String | Instagram用户名/Instagram username |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Successful Response | - |
422 | Validation Error | - |
ResponseModel fetchUserTaggedPostsByUserIdApiV1InstagramWebAppFetchUserTaggedPostsByUserIdGet(userId, count, endCursor)
根据用户ID获取用户被标记的帖子/Get user tagged posts by user ID
[中文] ### 用途: - 根据Instagram用户ID获取用户被标记的帖子 - 由于此接口收到后端代理服务器的影响,请在请求此接口时适当调整timeout参数。 - 建议将timeout设置为60秒,以确保能够获取到数据,大多数情况下,数据获取时间在10秒以内。 ### 参数: - user_id: Instagram用户ID - count: 每页数量 - end_cursor: 结束游标,用于翻页,第一页不需要传值,后续页需要传入上一页的返回值。 ### 返回: - 用户被标记的帖子 # [English] ### Purpose: - Get user tagged posts by Instagram user ID - Due to the impact of the backend proxy server, please adjust the timeout parameter appropriately when requesting this interface. - It is recommended to set the timeout to 60 seconds to ensure that the data can be obtained. In most cases, the data acquisition time is within 10 seconds. ### Parameters: - user_id: Instagram user ID - count: Count per page - end_cursor: End cursor, used for pagination, no need to pass value for the first page, pass the return value of the previous page for subsequent pages. ### Return: - User tagged posts # [示例/Example] user_id = "25025320" count = 12 end_cursor = None
// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.InstagramWebAndAppApiApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: bearer
HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
bearer.setBearerToken("BEARER TOKEN");
InstagramWebAndAppApiApi apiInstance = new InstagramWebAndAppApiApi(defaultClient);
String userId = 25025320; // String | Instagram用户ID/Instagram user ID
Integer count = 12; // Integer | 每页数量/Count per page
String endCursor = "endCursor_example"; // String | 结束游标/End cursor
try {
ResponseModel result = apiInstance.fetchUserTaggedPostsByUserIdApiV1InstagramWebAppFetchUserTaggedPostsByUserIdGet(userId, count, endCursor);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling InstagramWebAndAppApiApi#fetchUserTaggedPostsByUserIdApiV1InstagramWebAppFetchUserTaggedPostsByUserIdGet");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
userId | String | Instagram用户ID/Instagram user ID | |
count | Integer | 每页数量/Count per page | [optional] [default to 12] |
endCursor | String | 结束游标/End cursor | [optional] |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Successful Response | - |
422 | Validation Error | - |
ResponseModel fetchUserTaggedPostsByUserIdApiV1InstagramWebAppFetchUserTaggedPostsByUserIdGet_0(userId, count, endCursor)
根据用户ID获取用户被标记的帖子/Get user tagged posts by user ID
[中文] ### 用途: - 根据Instagram用户ID获取用户被标记的帖子 - 由于此接口收到后端代理服务器的影响,请在请求此接口时适当调整timeout参数。 - 建议将timeout设置为60秒,以确保能够获取到数据,大多数情况下,数据获取时间在10秒以内。 ### 参数: - user_id: Instagram用户ID - count: 每页数量 - end_cursor: 结束游标,用于翻页,第一页不需要传值,后续页需要传入上一页的返回值。 ### 返回: - 用户被标记的帖子 # [English] ### Purpose: - Get user tagged posts by Instagram user ID - Due to the impact of the backend proxy server, please adjust the timeout parameter appropriately when requesting this interface. - It is recommended to set the timeout to 60 seconds to ensure that the data can be obtained. In most cases, the data acquisition time is within 10 seconds. ### Parameters: - user_id: Instagram user ID - count: Count per page - end_cursor: End cursor, used for pagination, no need to pass value for the first page, pass the return value of the previous page for subsequent pages. ### Return: - User tagged posts # [示例/Example] user_id = "25025320" count = 12 end_cursor = None
// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.InstagramWebAndAppApiApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: bearer
HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
bearer.setBearerToken("BEARER TOKEN");
InstagramWebAndAppApiApi apiInstance = new InstagramWebAndAppApiApi(defaultClient);
String userId = 25025320; // String | Instagram用户ID/Instagram user ID
Integer count = 12; // Integer | 每页数量/Count per page
String endCursor = "endCursor_example"; // String | 结束游标/End cursor
try {
ResponseModel result = apiInstance.fetchUserTaggedPostsByUserIdApiV1InstagramWebAppFetchUserTaggedPostsByUserIdGet_0(userId, count, endCursor);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling InstagramWebAndAppApiApi#fetchUserTaggedPostsByUserIdApiV1InstagramWebAppFetchUserTaggedPostsByUserIdGet_0");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
userId | String | Instagram用户ID/Instagram user ID | |
count | Integer | 每页数量/Count per page | [optional] [default to 12] |
endCursor | String | 结束游标/End cursor | [optional] |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Successful Response | - |
422 | Validation Error | - |
ResponseModel fetchUserTvPostsByUsernameApiV1InstagramWebAppFetchUserTvPostsByUsernameGet(username, paginationToken)
根据用户名获取用户的tv_posts数据/Get user tv_posts by username
[中文] ### 用途: - 根据Instagram用户名获取用户的tv_posts数据 - 由于此接口收到后端代理服务器的影响,请在请求此接口时适当调整timeout参数。 - 建议将timeout设置为60秒,以确保能够获取到数据,大多数情况下,数据获取时间在10秒以内。 ### 参数: - username: Instagram用户名 - pagination_token: 分页token,第一次请求不需要传值,后续页需要传入上一页的返回值。 ### 返回: - 用户的tv_posts数据 # [English] ### Purpose: - Get user tv_posts by Instagram username - Due to the impact of the backend proxy server, please adjust the timeout parameter appropriately when requesting this interface. - It is recommended to set the timeout to 60 seconds to ensure that the data can be obtained. In most cases, the data acquisition time is within 10 seconds. ### Parameters: - username: Instagram username - pagination_token: Pagination token, no need to pass value for the first request, pass the return value of the previous page for subsequent pages. ### Return: - User tv_posts data # [示例/Example] username = "instagram" pagination_token = None
// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.InstagramWebAndAppApiApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: bearer
HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
bearer.setBearerToken("BEARER TOKEN");
InstagramWebAndAppApiApi apiInstance = new InstagramWebAndAppApiApi(defaultClient);
String username = instagram; // String | Instagram用户名/Instagram username
String paginationToken = "paginationToken_example"; // String | 分页token/Pagination token
try {
ResponseModel result = apiInstance.fetchUserTvPostsByUsernameApiV1InstagramWebAppFetchUserTvPostsByUsernameGet(username, paginationToken);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling InstagramWebAndAppApiApi#fetchUserTvPostsByUsernameApiV1InstagramWebAppFetchUserTvPostsByUsernameGet");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
username | String | Instagram用户名/Instagram username | |
paginationToken | String | 分页token/Pagination token | [optional] |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Successful Response | - |
422 | Validation Error | - |
ResponseModel fetchUserTvPostsByUsernameApiV1InstagramWebAppFetchUserTvPostsByUsernameGet_0(username, paginationToken)
根据用户名获取用户的tv_posts数据/Get user tv_posts by username
[中文] ### 用途: - 根据Instagram用户名获取用户的tv_posts数据 - 由于此接口收到后端代理服务器的影响,请在请求此接口时适当调整timeout参数。 - 建议将timeout设置为60秒,以确保能够获取到数据,大多数情况下,数据获取时间在10秒以内。 ### 参数: - username: Instagram用户名 - pagination_token: 分页token,第一次请求不需要传值,后续页需要传入上一页的返回值。 ### 返回: - 用户的tv_posts数据 # [English] ### Purpose: - Get user tv_posts by Instagram username - Due to the impact of the backend proxy server, please adjust the timeout parameter appropriately when requesting this interface. - It is recommended to set the timeout to 60 seconds to ensure that the data can be obtained. In most cases, the data acquisition time is within 10 seconds. ### Parameters: - username: Instagram username - pagination_token: Pagination token, no need to pass value for the first request, pass the return value of the previous page for subsequent pages. ### Return: - User tv_posts data # [示例/Example] username = "instagram" pagination_token = None
// Import classes:
import io.tikhub.client.ApiClient;
import io.tikhub.client.ApiException;
import io.tikhub.client.Configuration;
import io.tikhub.client.auth.*;
import io.tikhub.client.models.*;
import io.tikhub.client.api.InstagramWebAndAppApiApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure HTTP bearer authorization: bearer
HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
bearer.setBearerToken("BEARER TOKEN");
InstagramWebAndAppApiApi apiInstance = new InstagramWebAndAppApiApi(defaultClient);
String username = instagram; // String | Instagram用户名/Instagram username
String paginationToken = "paginationToken_example"; // String | 分页token/Pagination token
try {
ResponseModel result = apiInstance.fetchUserTvPostsByUsernameApiV1InstagramWebAppFetchUserTvPostsByUsernameGet_0(username, paginationToken);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling InstagramWebAndAppApiApi#fetchUserTvPostsByUsernameApiV1InstagramWebAppFetchUserTvPostsByUsernameGet_0");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
username | String | Instagram用户名/Instagram username | |
paginationToken | String | 分页token/Pagination token | [optional] |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Successful Response | - |
422 | Validation Error | - |