LoginSignup
7
2

More than 1 year has passed since last update.

InstagramAPIめっちゃ調べてみた

Last updated at Posted at 2021-10-20

Web


https://www.instagram.com/

種類 エンドポイント 機能
Web /web/likes/{media_id}/like/ いいね
/web/likes/{media_id}/unlike/ いいね解除
/create/{media_id}/delete/ 投稿削除
/web/friendships/{user_id}/follow/ フォロー
/web/friendships/{user_id}/unfollow/ フォロー解除
/web/comments/{media_id}/add/ コメント
/web/comments/{media_id}/delete/{comment_id} コメント削除
/web/search/topsearch/ 検索
/explore/tags/ タグ検索
/create/upload/photo/ 投稿
/create/details/ ??
/create/configure/ ??
/graphql/query/ ユーザー情報取得?
/qp/batch_fetch_web/ ??
/ajax/bz ??
/logging/falco ??
/accounts/get_encrypted_credentials/ 「fr」の取得
/fxcal/ig_sso_users/ ??
/data/manifest UI情報?
/ajax/bz ??
/push/web/register/ ??
/friendships/show/ 自分と相手の関係性
/explore/grid/ おすすめの投稿?
/p/{何かの文字列}/ 投稿情報
/web/save/{media_id}/save/ 投稿の保存
/web/save/{media_id}/unsave/ 投稿の保存を削除
/accounts/edit/ プロフィール編集
/web/wwwgraphql/ig/query/ プロフィール編集画面のUI情報
/{user_name}/live/ ライブ情報取得

App


https://i.instagram.com/api/v1/

種類 エンドポイント 機能
App /direct_v2/get_badge_count/ DMの通知バッチ
/notifications/badge/ 通知バッチ
/live/reels_tray_broadcasts/ ライブ関係?
/stories/reel/seen ストーリー表示関係?足跡?
/users/{user_id}/info/ ユーザー情報
/usertags/{user_id}/feed/ タグ付けされた投稿
/si/fetch_headers/ ログイン関係
/accounts/login/ ログイン
/accounts/current_user/ ユーザー情報
/accounts/edit_profile/ プロフィール編集
/accounts/remove_profile_picture/ プロフィール画像の削除
/accounts/change_profile_picture/ プロフィール画像の変更
/accounts/set_private/ 非公開アカウントに変更
/accounts/set_public/ 公開アカウントに変更
/accounts/logout/ ログアウト
/accounts/get_presence_disabled/ プレゼンスステータス設定を取得?
/accounts/set_presence_disabled/ プレゼンスステータスの設定?
/collections/list/ コレクション一覧
/feed/collection/{collection_id}/ コレクション内のアイテムを取得
/collections/create/ コレクションの作成
/collections/{collection_id}/edit/ コレクションに追加
/collections/{collection_id}/delete/ コレクションの削除
/discover/explore/ 発見の取得
/discover/channels_home/ 発見関係?
/discover/chaining/ おすすめユーザー
/discover/top_live/ トップライブを取得
/discover/top_live_status/ ライブのIDリストの取得?
/feed/liked/ 投稿のいいねを取得
/feed/timeline/ 投稿タイムラインの取得
/feed/popular/ 人気の投稿を取得
/feed/user/{user_id}/ ユーザーの投稿を取得
/feed/user/{user_name}/username/ ユーザーの投稿を取得
/feed/reels_tray/ リール&ストーリーのtrayの取得?
/feed/user/{user_id}/reel_media/ リール&ストーリーの取得
/feed/reels_media/ 複数のリール&ストーリーを取得
/feed/tag/{tag}/ 投稿のタグを取得
/feed/user/{user_id}/story/ ストーリーとライブの取得
/feed/saved/ 投稿の保存
/feed/only_me_feed/ アーカイブ投稿の取得
/friendships/autocomplete_user_list/ ユーザー一覧
/friendships/{user_id}/following/ ユーザーのフォローを取得
/friendships/{user_id}/followers/ ユーザーのフォロワーを取得
/friendships/pending/ 保留中のフォローリクエストを取得
/friendships/show/{user_id}/ 自分と相手の関係性の取得
/friendships/show_many/ 複数のユーザーIDで自分と相手の関係性の取得
/friendships/create/{user_id}/ フォロー
/friendships/destroy/{user_id}/ フォロー解除
/friendships/block/{user_id}/ ブロック
/friendships/unblock/{user_id}/ ブロック解除
/friendships/block_friend_reel/{user_id}/ ストーリーの非表示
/friendships/unblock_friend_reel/{user_id}/ ストーリーの非表示解除
/friendships/set_reel_block_status/ ストーリーの非表示の全解除?
/friendships/blocked_reels/ ストーリー非表示ユーザーの取得
/friendships/favorite/{user_id}/ 投稿の通知オン
/friendships/unfavorite/{user_id}/ 投稿の通知オンを取り消し
/friendships/ignore/{user_id}/ フォローリクエストを拒否
/friendships/remove_follower/{user_id}/ フォロワーの削除
/archive/reel/day_shells/ 公式ユーザーのストーリーアーカイブの取得
/highlights/{user_id}/highlights_tray/ ユーザーのハイライトの取得
/highlights/create_reel/ ハイライトの作成
/highlights/{highlight_id}/edit_reel/ ハイライトの編集
/highlights/{highlight_id}/delete_reel/ ハイライトの削除
/igtv/channel/ IGTVの取得
/igtv/tv_guide/ おすすめIGTVの取得
/igtv/search/ IGTVの検索
/live/{broadcast_id}/like/ ライブのいいね
/live/{broadcast_id}/get_like_count/ ライブのいいね数を取得
/live/{broadcast_id}/get_comment/ ライブの最新コメントを取得
/live/{broadcast_id}/heartbeat_and_get_viewer_count/ ライブのいいね数と視聴者数の取得
/live/{broadcast_id}/comment/ ライブにコメントする
/live/{broadcast_id}/info/ ライブ情報の取得
/live/get_suggested_broadcasts/ ライブ終了後のコメントを取得
/live/{broadcast_id}/get_post_live_likes/ ライブのいいね数を取得
/locations/{location_id}/info/ 位置情報の取得
/locations/{location_id!s}/related/ 関連する場所の取得
/location_search/ 場所の検索
/fbsearch/places/ 投稿文で場所を検索?
/locations/{location_id}/sections/ 投稿の場所の取得
/locations/{location_id}/story/ ストーリーの場所の取得
/media/{media_id}/info/ メディア情報の取得
/media/infos/ 複数のメディア情報を取得
/media/{media_id}/permalink/ メディアのURLを取得
/media/{media_id}/comments/ メディアのコメントを取得
/media/{media_id}/comments/{comment_id}/child_comments/ コメントの返信を取得
/media/{media_id}/comments/{comment_id}/inline_child_comments/ インラインコメントの返信を取得
/media/{media_id}/edit_media/ メディアの本文を編集
/media/{media_id}/delete/ メディアの削除
/media/{media_id}/comment/ コメントを投稿
/media/{media_id}/comment/{comment_id}/delete/ コメントの削除
/media/{media_id}/comment/bulk_delete/ コメントの一括削除
/media/{media_id}/likers/ メディアにいいねしたユーザーを取得
/media/{media_id}/likers_chrono/ メディアにいいねしたユーザーを時系列で取得
/media/{media_id}/like/ いいね
/media/{media_id}/unlike/ いいね解除
/media/seen/ 複数のストーリーに足跡を付ける
/media/{comment_id}/comment_like/ コメントにいいね
/media/{comment_id}/comment_likers/ コメントにいいねしたユーザーを取得
/media/{comment_id}/comment_unlike/ コメントのいいね解除
/media/{media_id}/save/ メディアを保存
/media/{media_id}/unsave/ メディアを保存を解除
/media/{media_id}/disable_comments/ コメントを無効にする
/media/{media_id}/enable_comments/ コメントを有効にする
/media/{media_id}/{only_me}/ アーカイブ?
/media/{story_pk}/list_reel_media_viewer/ ストーリーの足跡リストを取得
/qe/sync/ ??
/qe/expose/ ??
/megaphone/log/ 追跡?
/direct_v2/ranked_recipients/ ランク付けされたユーザーを取得
/direct_share/recent_recipients/ 最近のDMしたユーザーを取得
/news/ 「フォロー中」の表示情報の取得
/news/inbox/ 「あなた」の表示情報の取得
/direct_v2/inbox/ DM情報の取得
/direct_v2/get_presence/ DM欄表示時に何かの確認
/direct_v2/threads/{何かのID}/ DM詳細情報取得
/direct_v2/threads/{何かのID}/items/{何かのID}/seen/ DM表示関係?
/oembed/ 埋め込みの情報を取得する
/language/translate/ 投稿の翻訳を取得?
/language/bulk_translate/ コメントの翻訳を取得
/fbsearch/topsearch/ ハッシュタグ、ユーザー、場所を検索
/creatives/assets/ ステッカーアセットを取得
/tags/{tag}/info/ タグ情報の取得
/tags/{tag}/related/ 関連するタグを取得
/tags/search/ タグの検索
/tags/suggested/ ユーザーがフォローしているタグを取得
/tags/suggested/ おすすめタグを取得
/tags/follow/{hashtag}/ タグのフォロー
/tags/unfollow/{hashtag}/ タグのフォロー解除
/tags/{tag}/sections/ タグフィードセクションを取得
/media/configure/ アップロード完了時?
/media/configure_to_story/ ストーリーのアップロード完了時?
/upload/photo/ メディアのアップロード
/media/configure_sidecar/ 最大10枚の写真/ビデオのアルバムを投稿
/users/{user_id}/info/ ユーザー情報を取得
/users/{user_name}/usernameinfo/ ユーザー情報を取得
/users/{user_id!s}/full_detail_info/ ユーザーの詳細情報を取得
/maps/user/{user_id}/ 位置情報付きメディアのリストを取得
/users/search/ ユーザー検索
/users/check_username/ ユーザー名を確認
/users/blocked_list/ ブロックしたユーザーのリストを取得
/users/reel_settings/ リール設定を取
/users/set_reel_settings/ ストーリーメッセージの返信設定
/usertags/{user_id}/feed/ タグ付けされた投稿を取得

グラフAPI(公式)


https://graph.instagram.com/

種類 エンドポイント 機能
グラフ /logging_client_events ??
/{ig-comment-id}?fields={fields} IGメディアのコメントを取得
/{ig-hashtag-id} IGハッシュタグのフィールドとエッジを返す
/{ig-media-id}?fields={fields} IGメディアのフィールドとエッジを取得
/{ig-user-id}?fields={fields} Instagramビジネスアカウントまたはクリエイターアカウントについてのフィールドおよびエッジを取得
/{page-id}?fields=instagram_business_account Facebookページに接続しているIGユーザーを返す
/ig_hashtag_search?user_id={user-id}&q={q} IGハッシュタグのIDを返す

表示API(公式)


https://api.instagram.com/

種類 エンドポイント 機能
表示 /oauth/authorize 認証ウィンドウを取得
/oauth/access_token 認証コードを短期Instagramユーザーアクセストークンと交換
/access_token 短期Instagramユーザーアクセストークンを長期Instagramユーザーアクセストークンと交換
/refresh_access_token 長期Instagramユーザーアクセストークンを更新
/oauth/authorize 認証ウィンドウを取得
/{media-id} 画像、動画、またはアルバムのフィールドおよびエッジを取得
/{media-id}/children アルバム上の画像と動画のリストを取得
/{user-id}/media ユーザーの画像、動画、またはアルバムのリストを取得
/me ユーザーのフィールドおよびエッジを取得
/{user-id} ユーザーのフィールドおよびエッジを取得
/{user-id}/media ユーザーの画像、動画、またはアルバムのリストを取得
/oembed/ 埋め込み

見つけ次第追加していきます

7
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
7
2