Refresh media comment action payload#2538
Merged
Merged
Conversation
7066515 to
67c910e
Compare
67c910e to
3e25e53
Compare
This was referenced May 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
media_commentwrite payload to include current action context fields used by feed write actionsmedia_comment, read the created comment back, and cleanup viacomment_bulk_delete/media_deletecommenttarget to the live account workflowRefs #2097.
Tests
.venv/bin/python -m pytest tests/regression/test_comments.py -q.venv/bin/python -m pytest tests/regression/test_helpers.py tests/regression/test_comments.py -q.venv/bin/python -m pytest tests/regression/test_comments.py tests/regression/test_media.py::MediaActionPayloadRegressionTestCase tests/regression/test_hardening.py::HardeningRegressionTestCase::test_send_private_request_promotes_404_not_found_body_to_challenge -q.venv/bin/python -m pytest -sv tests/regression/test_extractors.py::ExtractorsRegressionTestCase tests/regression/test_public.py::PublicRegressionTestCase tests/regression/test_public.py::PrivateGraphQLRequestRegressionTestCase tests/regression/test_direct.py::DirectMixinRegressionTestCase tests/regression/test_challenge.py::ChallengeRegressionTestCase tests/regression/test_comments.py::CommentRepliesRegressionTestCase tests/regression/test_current_app_profile.py::CurrentAppProfileRegressionTestCase tests/regression/test_auth_story.py::AuthAndStoryRegressionTestCase tests/regression/test_download.py::DownloadRegressionTestCase tests/regression/test_notes.py::NoteMixinRegressionTestCase tests/regression/test_location.py::LocationMixinRegressionTestCase tests/regression/test_media.py::UserMediasGraphQLRegressionTestCase tests/regression/test_user.py::UserMixinRegressionTestCase tests/regression/test_timeline.py::TimelineRegressionTestCase tests/regression/test_story_configure.py::StoryConfigureRegressionTestCase tests/regression/test_video_metadata.py::VideoMetadataRegressionTestCase tests/regression/test_upload.py::UploadRegressionTestCase.venv/bin/python -m ruff check instagrapi tests.venv/bin/python -m ruff format --check instagrapi tests.venv/bin/python -m mkdocs build --strict.venv/bin/python -m buildLive verification
tests/live/test_comments.py::ClientCommentExtendTestCase::test_media_commentdid not reach the comment endpoint because account setup failed on proxy tunnel302 Foundduringlauncher/sync/.commenttarget passed: https://github.com/subzeroid/instagrapi/actions/runs/26124367512