instagram_private_api icon indicating copy to clipboard operation
instagram_private_api copied to clipboard

Quiz Sticker

Open kanekifont opened this issue 5 years ago • 1 comments

Please follow the guide below

  • Issues submitted without this template format will be ignored.
  • Read the questions carefully and answer completely.
  • Do not post screenshots of error messages or code.
  • Put an x into all the boxes [ ] relevant to your issue (==> [x] no spaces).
  • Use the Preview tab to see how your issue will actually look like.
  • Issues about reverse engineering is out of scope and will be closed without response.
  • Any mention of spam-like actions or spam-related tools/libs/etc is strictly not allowed.

Before submitting an issue, make sure you have:

  • [x] Updated to the lastest version v1.6.0
  • [x] Read the README and docs
  • [x] Searched the bugtracker for similar issues including closed ones
  • [x] Reviewed the sample code in tests and examples

Which client are you using?

  • [x] app (instagram_private_api/)
  • [ ] web (instagram_web_api/)

Describe your Feature Request:

I want get the metadata for quiz sticker when i retrieve a story. example : feed = ig_client.user_story_feed(user_id) Inside the feed['reel']['items'] object i want put this:

story_quizs: [ [Object] ]
Object:
[
   {
      "x":"0.49953705000000004",
      "y":0.5,
      "z":0,
      "width":"0.6805555999999999",
      "height":0.23034984,
      "rotation":0,
      "is_pinned":0,
      "is_hidden":0,
      "is_sticker":1,
      "is_fb_sticker":0,
      "quiz_sticker":{
         "id":"quiz_sticker_default",
         "quiz_id":"17884361959662769",
         "question":"INDOVINA COSA PREFERISCO...",
         "tallies":[
            "Array"
         ],
         "correct_answer":1,
         "viewer_can_answer":true,
         "finished":false,
         "text_color":"#ffffff",
         "start_background_color":"#262626",
         "end_background_color":"#262626"
      }
   }
]
Array of tallies:
[ { text: 'Uno', count: 0 }, { text: 'Due', count: 0 } ]    

kanekifont avatar Aug 12 '20 14:08 kanekifont

@kanekifont Perhaps this issue could be pinned for better visibility.

ZenaMel avatar Aug 15 '20 19:08 ZenaMel