instagrapi icon indicating copy to clipboard operation
instagrapi copied to clipboard

[BUG] Story Upload Issue with Mentions, Links, Hashtags, and Locations Not Appearing in Data

Open Halphas opened this issue 1 year ago • 4 comments

Story Upload Issue with Mentions, Links, Hashtags, and Locations Not Appearing in Datastructure

Description When uploading a story to Instagram using the Instagrapi private API, the mentions, links, hashtags, and locations set in the configuration do not appear in the uploaded story. Only the photo is uploaded, and none of the additional information is included. Consequently, the mentioned users do not receive notifications, and the story lacks the intended links, hashtags, and location data.

To Reproduce

  1. Utilize the Instagrapi private API to upload a story on Instagram.
  2. Set mentions, links, hashtags, and location in the story configuration. To populate the data use:
    for mention in mentions_obj:
        mention.user = cl.user_info_by_username(mention.user.username)
    for hashtags in hashtags_obj:
        hashtags.hashtag = cl.hashtag_info(hashtags.hashtag.name

locations are resolved by default(awesome)

  1. Observe the uploaded story on Instagram.

Traceback No specific Python traceback is available as the story upload completes successfully, but the additional configurations (mentions, links, hashtags, locations) are not applied.

Expected Behaviour The story uploaded to Instagram should include the configured mentions, links, hashtags, and location. Mentioned users should receive notifications, and the story should display the added mention information in "three dots(More menu)" under Add Mentions.

Screenshots Not applicable, as the issue pertains to missing elements in the uploaded story.

Desktop Information

  • OS: docker docker-image python:3.8-slim
  • Python Version: docker-image python:3.8-slim
  • Instagrapi Version: repo master branch
  • Additional Libraries: x

Additional Context

I am utilizing the Instagrapi private API primarily for the purpose of promoting events through Instagram stories. This forms a crucial part of my marketing approach, with a focus on harnessing Instagram's story features - mentions, links, hashtags, and locations - to enhance audience engagement, reach, and provide ease of access to event information.

Key Components of Usage:

  1. Mentions of DJs and Artists: These are essential for engaging a broader audience and notifying fans of the involved artists and DJs.
  2. Location Tags: Vital for helping users easily locate and navigate to event venues.
  3. Link Stickers to Ticketing Pages: Offer a straightforward route for audience members to purchase tickets and obtain event details.

However, I am facing a significant challenge with the Instagrapi API. Despite following the standard procedures for story uploads, the uploaded stories are missing these crucial interactive elements, severely impacting the promotional effectiveness.

Efforts and Encountered Challenges:

  • Experimented with alternative methods, like using videos with visually represented mentions, which unfortunately lack the necessary interactive functionality.
  • Contemplated a technical route involving app sniffing to access the current API structure information. However, I seek clarity on the issue before proceeding with this complex approach.

Inquiries:

  • Is this a common issue with the Instagrapi API, or is it an isolated case specific to my application?
  • Do the features (mentions, links, hashtags, locations) I am attempting to use actually exist within Instagrapi's capabilities, or have I misunderstood the tool's functionalities?

I am looking for insights to determine whether the challenges I am encountering are due to inherent limitations within Instagrapi or if they stem from issues specific to my application's setup. Understanding this is critical for deciding my subsequent actions, whether that involves further troubleshooting or exploring alternative solutions. Your guidance and insights on these matters would be highly valued.

Halphas avatar Jan 21 '24 03:01 Halphas