PLAT-37849 Use share ActionUrl as Instagram media-share caption URL#297
Closed
Fizzadar wants to merge 1 commit into
Closed
PLAT-37849 Use share ActionUrl as Instagram media-share caption URL#297Fizzadar wants to merge 1 commit into
Fizzadar wants to merge 1 commit into
Conversation
Instagram carousel-child shares were captioned with the parent post URL synthesized from the shortcode, so the link opened a different item than the embedded video. Prefer the cleaned CTA.ActionUrl as the external URL when it verifiably points at an instagram.com /p/, /reel/, or /reels/ path (absolute or relative), falling back to the synthesized URL otherwise.
Member
Author
|
New IG changes make this irrelevant! |
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.
Instagram carousel-child shares were captioned with the parent post URL synthesized from the shortcode, so the caption link opened a different item than the embedded video. This prefers the cleaned
CTA.ActionUrlas the external/caption URL when it verifiably points at an instagram.com/p/,/reel/, or/reels/path (absolute or relative forms), falling back to the synthesized URL otherwise. Strict host/path guards mean the worst case is unchanged from today.